Maroon Colors  ·  Color Library

Palettes / Colors / #D0CC4E

#D0CC4E — Yellow

#D0CC4E is a yellow color we call Yellow, closest to the named color DarkKhaki (#BDB76B). It belongs to the yellow family.

Color name

Closest CSS keyword: darkkhaki (#BDB76B) — not an exact match. CSS darkkhaki gives you #BDB76B, a different color; use #D0CC4E 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.

#D0CC4E is a warm yellow color associated with optimism, attention and cheer. It sits comfortably in the middle: usable for large areas in soft schemes, or as a supporting color beside something stronger.

Its strongest partner is its complement #4E52D0; it also sits naturally between #D08A4E and #93D04E. In the palettes below you can see it working alongside real color combinations from our collection.

#D0CC4E · RGB 208, 204, 78

Download PNG swatch SVG

Color values

HEX#D0CC4E
RGB208, 204, 78
HSL58°, 58%, 56%
HSV58°, 63%, 82%
CMYK0%, 2%, 63%, 18%
XYZ48.98, 57.15, 15.66
Yxy57.15, 0.4022, 0.4692
CIE-Lab80.26, -14.06, 61.19
Hunter Lab75.59, -12.80, 37.93

RGB & CMYK percentages

Red 82% · Green 80% · Blue 31%

Cyan 0% · Magenta 2% · Yellow 63% · Key 18%

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

Previews

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

CSS code for #D0CC4E

.text { color: #D0CC4E; }
.background { background-color: #D0CC4E; }
.border { border: 3px solid #D0CC4E; }
.text-rgb { color: rgb(208, 204, 78); }
.text-hsl { color: hsl(58, 58%, 56%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #D0CC4E; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(208, 204, 78, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #D0CC4E; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(208, 204, 78, 0.8); }

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

Shades of #D0CC4E

#CBC63A#B9B531#A19D2B#8D8A25#797620#65621B#514F15#38370F#24230A#101004

Tints of #D0CC4E

#D4D05E#D8D56E#DDDA7E#E1DE8E#E5E39E#EAE8AE#EEECBF#F2F1CF#F6F6DF#FBFAEF

Tones of #D0CC4E

#C7C357#BDBA61#B4B16A#ABA973#A2A17C#989786

Color harmonies

Complementary — #4E52D0:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.69:1 Fails
Against black text12.43:1 AAA

Best text color on #D0CC4E: #000000.

Semi-transparent (opacity) text on #D0CC4E

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

How #D0CC4E looks with color blindness

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

Protanopia · #CECE6CDeuteranopia · #CFCF74Tritanopia · #D0858A

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 · #CDDC39Material Yellow 500 · #FFEB3BMaterial Light Green 500 · #8BC34A

Palettes with a similar color

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

Rustic Ruby Zephyr
#A427AC · #D8D051 · #48D6CD · #DCB4E5
Vivid Ruby Solace
#C57C3A · #C8C74F · #6BA338 · #46AB4A
Velvet Ruby Solace
#9B2544 · #CB7546 · #D8D351 · #528D28
Burning Opal
#9F5325 · #D6C756 · #A4CB66 · #5EC652
Gentle Bloom
#30A6AE · #CF52C7 · #C5CE4C · #D8EFED
Frozen Ruby Lagoon
#76272D · #C8956C · #CECB5A · #7BBF37

Similar colors

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

#D8D051#C8C74F#D8D351#D6C756#C5CE4C#CECB5A#DAC652#CECE5A#DBD44F#C8D559#C6C441#E2D050

Browse neighbouring colors

← #D0CC4D  ·  #D0CC4F →

Frequently asked questions

What color is #D0CC4E?

#D0CC4E is Yellow, a yellow color (RGB 208, 204, 78). Its closest standard named color is DarkKhaki.

What is the RGB and HSL of #D0CC4E?

#D0CC4E is RGB 208, 204, 78 — HSL 58°, 58%, 56% — CMYK 0%, 2%, 63%, 18%.

What colors go with #D0CC4E?

Its complement is #4E52D0; analogous partners are #D08A4E and #93D04E. It also appears in 6+ palettes in our collection.

Can I use #D0CC4E for text?

Black text on #D0CC4E has a contrast ratio of 12.43:1 (passes WCAG AA); white text gives 1.69:1.