Maroon Colors  ·  Color Library

Palettes / Colors / #DFE166

#DFE166 — Yellow

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

#DFE166 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 #6866E1; it also sits naturally between #E1A566 and #A1E166. In the palettes below you can see it working alongside real color combinations from our collection.

#DFE166 · RGB 223, 225, 102

Download PNG swatch SVG

Color values

HEX#DFE166
RGB223, 225, 102
HSL61°, 67%, 64%
HSV61°, 55%, 88%
CMYK1%, 0%, 55%, 12%
XYZ59.75, 70.50, 23.03
Yxy70.50, 0.3898, 0.4599
CIE-Lab87.24, -16.67, 58.84
Hunter Lab83.96, -15.66, 39.40

RGB & CMYK percentages

Red 87% · Green 88% · Blue 40%

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

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

Previews

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

CSS code for #DFE166

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

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

Shades of #DFE166

#D9DC4C#D4D733#C1C427#A8AA22#8F911D#767718#5C5E13#43440D#2A2B08#111103

Tints of #DFE166

#E1E372#E4E67F#E8E990#EAEC9D#EDEEAA#F0F1B7#F2F3C3#F6F7D4#F9F9E1#FBFCEE

Tones of #DFE166

#D6D86F#CECF77#C5C680#BDBE89#B4B592#ACAC9A

Color harmonies

Complementary — #6866E1:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.39:1 Fails
Against black text15.10:1 AAA

Best text color on #DFE166: #000000.

Semi-transparent (opacity) text on #DFE166

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

How #DFE166 looks with color blindness

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

Protanopia · #E0E084Deuteranopia · #E0E08BTritanopia · #DF9BA0

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

Crystal Mosaic
#CE6F36 · #E1E16A · #85D952 · #3CCD61
Palette 2f5249
#2F5249 · #437057 · #97B067 · #E3DE61
Hidden Terrace
#B1991F · #E6E46D · #4A62DF · #A8B4EA
Smoky Ruby Cascade
#1C20BB · #5F3BE2 · #E7E35F · #EEECB1
Royal Ruby Garden
#8D771E · #DFE171 · #637CDE · #CCDAF0
Gentle Voyage
#8EB824 · #D7E371 · #683AD8 · #B6AEE9

Similar colors

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

#E1E16A#E3DE61#E6E46D#E7E35F#DFE171#D7E371#E2D365#EBD966#E4DA72#EDE161#D5EC64#D6D85D

Browse neighbouring colors

← #DFE165  ·  #DFE167 →

Frequently asked questions

What color is #DFE166?

#DFE166 is Yellow, a yellow color (RGB 223, 225, 102). Its closest standard named color is Khaki.

What is the RGB and HSL of #DFE166?

#DFE166 is RGB 223, 225, 102 — HSL 61°, 67%, 64% — CMYK 1%, 0%, 55%, 12%.

What colors go with #DFE166?

Its complement is #6866E1; analogous partners are #E1A566 and #A1E166. It also appears in 6+ palettes in our collection.

Can I use #DFE166 for text?

Black text on #DFE166 has a contrast ratio of 15.10:1 (passes WCAG AA); white text gives 1.39:1.