Maroon Colors  ·  Color Library

Palettes / Colors / #CDC138

#CDC138 — Yellow

#CDC138 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 #CDC138 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.

#CDC138 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 #3744CD; it also sits naturally between #CD7637 and #8FCD37. In the palettes below you can see it working alongside real color combinations from our collection.

#CDC138 · RGB 205, 193, 56

Download PNG swatch SVG

Color values

HEX#CDC138
RGB205, 193, 56
HSL55°, 60%, 51%
HSV55°, 73%, 80%
CMYK0%, 6%, 73%, 20%
XYZ44.96, 51.40, 11.29
Yxy51.40, 0.4176, 0.4775
CIE-Lab76.92, -10.95, 66.24
Hunter Lab71.70, -9.86, 38.37

RGB & CMYK percentages

Red 80% · Green 76% · Blue 22%

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

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

Previews

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

CSS code for #CDC138

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

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

Shades of #CDC138

#BCB02F#ABA12B#978E26#837A21#726B1D#5E5817#494512#35320D#252209#100F04

Tints of #CDC138

#D2C74B#D6CC5C#DBD270#DFD781#E4DE95#E9E3A5#EEE9BA#F2EECA#F7F5DE#FBFAEF

Tones of #CDC138

#C2B742#B8AF4C#ADA558#A39D62#97946D#8D8B77

Color harmonies

Complementary — #3744CD:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.86:1 Fails
Against black text11.28:1 AAA

Best text color on #CDC138: #000000.

Semi-transparent (opacity) text on #CDC138

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 #CDC138: ·

How #CDC138 looks with color blindness

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

Protanopia · #C8C859Deuteranopia · #C9C961Tritanopia · #CC7379

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 #CDC138 rather than the exact color:

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

Similar colors

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

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

Browse neighbouring colors

← #CDC137  ·  #CDC139 →

Frequently asked questions

What color is #CDC138?

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

What is the RGB and HSL of #CDC138?

#CDC138 is RGB 205, 193, 56 — HSL 55°, 60%, 51% — CMYK 0%, 6%, 73%, 20%.

What colors go with #CDC138?

Its complement is #3744CD; analogous partners are #CD7637 and #8FCD37. It also appears in 6+ palettes in our collection.

Can I use #CDC138 for text?

Black text on #CDC138 has a contrast ratio of 11.28:1 (passes WCAG AA); white text gives 1.86:1.