Maroon Colors  ·  Color Library

Palettes / Colors / #CDC338

#CDC338 — Yellow

#CDC338 is a yellow color we call Yellow, closest to the named color GoldenRod (#DAA520). It belongs to the yellow family.

Color name

Closest CSS keyword: goldenrod (#DAA520) — not an exact match. CSS goldenrod gives you #DAA520, a different color; use #CDC338 when you need this exact shade.

Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.

#CDC338 is a warm yellow color associated with optimism, attention and cheer. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.

Its strongest partner is its complement #3741CD; it also sits naturally between #CD7837 and #8CCD37. In the palettes below you can see it working alongside real color combinations from our collection.

#CDC338 · RGB 205, 195, 56

Download PNG swatch SVG

Color values

HEX#CDC338
RGB205, 195, 56
HSL56°, 60%, 51%
HSV56°, 73%, 80%
CMYK0%, 5%, 73%, 20%
XYZ45.41, 52.29, 11.44
Yxy52.29, 0.4160, 0.4791
CIE-Lab77.46, -11.97, 66.75
Hunter Lab72.32, -10.78, 38.74

RGB & CMYK percentages

Red 80% · Green 76% · Blue 22%

Cyan 0% · Magenta 5% · Yellow 73% · Key 20%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #CDC338 on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #CDC338 on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #CDC338

.text { color: #CDC338; }
.background { background-color: #CDC338; }
.border { border: 3px solid #CDC338; }
.text-rgb { color: rgb(205, 195, 56); }
.text-hsl { color: hsl(56, 60%, 51%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #CDC338; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(205, 195, 56, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #CDC338; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(205, 195, 56, 0.8); }

HTML: <p style="color:#CDC338">Text here</p> · <div style="background-color:#CDC338">Div content here</div>

Shades of #CDC338

#BCB22F#ABA32B#978F26#837C21#726D1D#5E5917#494612#35320D#252309#101004

Tints of #CDC338

#D2C94B#D6CE5C#DBD470#DFD981#E4DF95#E9E4A5#EEEABA#F2EFCA#F7F5DE#FBFAEF

Tones of #CDC338

#C2B942#B8B14C#ADA758#A39E62#97946D#8D8C77

Color harmonies

Complementary — #3741CD:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.83:1 Fails
Against black text11.46:1 AAA

Best text color on #CDC338: #000000.

Semi-transparent (opacity) text on #CDC338

Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #CDC338: ·

How #CDC338 looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #C9C95ADeuteranopia · #C9CA62Tritanopia · #CD747A

Closest design-system colors

The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:

Material Lime 500 · #CDDC39Tailwind yellow 500 · #EAB308Material Yellow 500 · #FFEB3B

Palettes with a similar color

These palettes use a close neighbour of #CDC338 rather than the exact color:

Frozen Cascade
#B85741 · #B67D2F · #CBC63C · #B9D586
Palette Cdc733
#CDC733 · #966C3B · #D0AF84 · #FFE6CA
Dusty Ruby Mosaic
#B64436 · #DE9E53 · #C5C135 · #709F2B
Dusty Ruby Horizon
#95289F · #CABC33 · #59D5CA · #EED5EF
Wild Ruby Breeze
#F2F0D4 · #D3CD64 · #D2CA32 · #A19B26
Vintage Petal
#BF3446 · #553014 · #C6C441 · #3D661A

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#CBC63C#CDC733#C5C135#CABC33#D2CA32#C6C441#CACE37#C1C230#C0CA37#C2C52E#D0CD2D#D7CA2D

Browse neighbouring colors

← #CDC337  ·  #CDC339 →

Frequently asked questions

What color is #CDC338?

#CDC338 is Yellow, a yellow color (RGB 205, 195, 56). Its closest standard named color is GoldenRod.

What is the RGB and HSL of #CDC338?

#CDC338 is RGB 205, 195, 56 — HSL 56°, 60%, 51% — CMYK 0%, 5%, 73%, 20%.

What colors go with #CDC338?

Its complement is #3741CD; analogous partners are #CD7837 and #8CCD37. It also appears in 6+ palettes in our collection.

Can I use #CDC338 for text?

Black text on #CDC338 has a contrast ratio of 11.46:1 (passes WCAG AA); white text gives 1.83:1.