Maroon Colors  ·  Color Library

Palettes / Colors / #D2E166

#D2E166 — Yellow

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

#D2E166 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 #7466E1; it also sits naturally between #E1B266 and #95E166. In the palettes below you can see it working alongside real color combinations from our collection.

#D2E166 · RGB 210, 225, 102

Download PNG swatch SVG

Color values

HEX#D2E166
RGB210, 225, 102
HSL67°, 67%, 64%
HSV67°, 55%, 88%
CMYK7%, 0%, 55%, 12%
XYZ55.90, 68.51, 22.85
Yxy68.51, 0.3796, 0.4652
CIE-Lab86.26, -21.86, 57.46
Hunter Lab82.77, -20.19, 38.49

RGB & CMYK percentages

Red 82% · Green 88% · Blue 40%

Cyan 7% · Magenta 0% · Yellow 55% · Key 12%

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

Previews

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

CSS code for #D2E166

.text { color: #D2E166; }
.background { background-color: #D2E166; }
.border { border: 3px solid #D2E166; }
.text-rgb { color: rgb(210, 225, 102); }
.text-hsl { color: hsl(67, 67%, 64%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #D2E166; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(210, 225, 102, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #D2E166; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(210, 225, 102, 0.8); }

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

Shades of #D2E166

#CBDC4C#C3D733#B2C427#9AAA22#83911D#6C7718#555E13#3E440D#272B08#0F1103

Tints of #D2E166

#D6E372#DAE67F#DFE990#E2EC9D#E6EEAA#EAF1B7#EEF3C3#F3F7D4#F6F9E1#FAFCEE

Tones of #D2E166

#CBD86F#C5CF77#BEC680#B8BE89#B1B592#AAAC9A

Color harmonies

Complementary — #7466E1:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.43:1 Fails
Against black text14.70:1 AAA

Best text color on #D2E166: #000000.

Semi-transparent (opacity) text on #D2E166

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

How #D2E166 looks with color blindness

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

Protanopia · #D8D984Deuteranopia · #D8D78BTritanopia · #D39BA0

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

Vivid Ruby Petal
#537718 · #CEE063 · #682AD0 · #BDA8E7
Velvet Ember
#2492A2 · #A82597 · #CDDC60 · #D2E7EF
Burning Ruby Cascade
#AD3415 · #E6AD32 · #D5EC64 · #C4F4A9
Palette 89ac46
#89AC46 · #D3E671 · #F8ED8C · #FF8989
Gentle Voyage
#8EB824 · #D7E371 · #683AD8 · #B6AEE9
Palette D6d85d
#D6D85D · #ECEDB0 · #EAD8A4 · #F68537

Similar colors

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

#CEE063#CDDC60#D5EC64#D3E671#D7E371#D6D85D#D3E971#C5DF62#C4DE67#CADE5A#D3F067#D8D365

Browse neighbouring colors

← #D2E165  ·  #D2E167 →

Frequently asked questions

What color is #D2E166?

#D2E166 is Yellow, a yellow color (RGB 210, 225, 102). Its closest standard named color is DarkKhaki.

What is the RGB and HSL of #D2E166?

#D2E166 is RGB 210, 225, 102 — HSL 67°, 67%, 64% — CMYK 7%, 0%, 55%, 12%.

What colors go with #D2E166?

Its complement is #7466E1; analogous partners are #E1B266 and #95E166. It also appears in 6+ palettes in our collection.

Can I use #D2E166 for text?

Black text on #D2E166 has a contrast ratio of 14.70:1 (passes WCAG AA); white text gives 1.43:1.