Maroon Colors  ·  Color Library

Palettes / Colors / #D4E168

#D4E168 — Yellow

#D4E168 is a yellow color we call Yellow, closest to the named color Khaki (#F0E68C). It belongs to the yellow family.

Color name

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

#D4E168 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 #766AE2; it also sits naturally between #E2B26A and #9AE26A. In the palettes below you can see it working alongside real color combinations from our collection.

#D4E168 · RGB 212, 225, 104

Download PNG swatch SVG

Color values

HEX#D4E168
RGB212, 225, 104
HSL66°, 67%, 65%
HSV66°, 54%, 88%
CMYK6%, 0%, 54%, 12%
XYZ56.58, 68.85, 23.40
Yxy68.85, 0.3801, 0.4626
CIE-Lab86.43, -20.90, 56.80
Hunter Lab82.97, -19.37, 38.26

RGB & CMYK percentages

Red 83% · Green 88% · Blue 41%

Cyan 6% · Magenta 0% · Yellow 54% · Key 12%

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

Previews

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

CSS code for #D4E168

.text { color: #D4E168; }
.background { background-color: #D4E168; }
.border { border: 3px solid #D4E168; }
.text-rgb { color: rgb(212, 225, 104); }
.text-hsl { color: hsl(66, 67%, 65%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #D4E168; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(212, 225, 104, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #D4E168; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(212, 225, 104, 0.8); }

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

Shades of #D4E168

#CEDC50#C7D737#B8C828#A1AF23#89951D#6E7718#565E13#3F440D#272B08#101103

Tints of #D4E168

#D9E477#DDE784#E0E990#E4EC9D#E9EFAE#ECF2BB#F0F4C8#F3F7D4#F7F9E1#FAFCEE

Tones of #D4E168

#CED973#C8D17B#C1C884#BAC08C#B3B795#ADAF9D

Color harmonies

Complementary — #766AE2:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.42:1 Fails
Against black text14.77:1 AAA

Best text color on #D4E168: #000000.

Semi-transparent (opacity) text on #D4E168

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

How #D4E168 looks with color blindness

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

Protanopia · #DADA85Deuteranopia · #D9D88CTritanopia · #D59CA1

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

Vivid Ruby Petal
#537718 · #CEE063 · #682AD0 · #BDA8E7
Gentle Voyage
#8EB824 · #D7E371 · #683AD8 · #B6AEE9
Palette 89ac46
#89AC46 · #D3E671 · #F8ED8C · #FF8989
Velvet Ember
#2492A2 · #A82597 · #CDDC60 · #D2E7EF
Burning Ruby Cascade
#AD3415 · #E6AD32 · #D5EC64 · #C4F4A9
Vintage Dusk
#DDEB9E · #D3E971 · #677916 · #434F0C

Similar colors

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

#CEE063#D7E371#D3E671#CDDC60#D5EC64#D3E971#E1E16A#D6D46D#DFE171#D6D85D#D8D365#D3F067

Browse neighbouring colors

← #D4E167  ·  #D4E169 →

Frequently asked questions

What color is #D4E168?

#D4E168 is Yellow, a yellow color (RGB 212, 225, 104). Its closest standard named color is Khaki.

What is the RGB and HSL of #D4E168?

#D4E168 is RGB 212, 225, 104 — HSL 66°, 67%, 65% — CMYK 6%, 0%, 54%, 12%.

What colors go with #D4E168?

Its complement is #766AE2; analogous partners are #E2B26A and #9AE26A. It also appears in 6+ palettes in our collection.

Can I use #D4E168 for text?

Black text on #D4E168 has a contrast ratio of 14.77:1 (passes WCAG AA); white text gives 1.42:1.