Maroon Colors  ·  Color Library

Palettes / Colors / #D4E165

#D4E165 — Yellow

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

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

#D4E165 · RGB 212, 225, 101

Download PNG swatch SVG

Color values

HEX#D4E165
RGB212, 225, 101
HSL66°, 67%, 64%
HSV66°, 55%, 88%
CMYK6%, 0%, 55%, 12%
XYZ56.43, 68.79, 22.62
Yxy68.79, 0.3817, 0.4653
CIE-Lab86.40, -21.15, 58.11
Hunter Lab82.94, -19.58, 38.81

RGB & CMYK percentages

Red 83% · Green 88% · Blue 40%

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

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

Previews

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

CSS code for #D4E165

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

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

Shades of #D4E165

#CDDC4C#C6D733#B4C427#9DAA22#85911D#6E7718#565E13#3F440D#272B08#101103

Tints of #D4E165

#D8E372#DCE67F#E0E990#E4EC9D#E7EEAA#EBF1B7#EEF3C3#F3F7D4#F7F9E1#FAFCEE

Tones of #D4E165

#CDD86F#C6CF77#BFC680#B8BE89#B1B592#ABAC9A

Color harmonies

Complementary — #7266E1:

Analogous:

Triadic:

Contrast & accessibility

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

Best text color on #D4E165: #000000.

Semi-transparent (opacity) text on #D4E165

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

How #D4E165 looks with color blindness

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

Protanopia · #DADA83Deuteranopia · #D9D88ATritanopia · #D59BA0

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 #D4E165 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 D6d85d
#D6D85D · #ECEDB0 · #EAD8A4 · #F68537
Gentle Voyage
#8EB824 · #D7E371 · #683AD8 · #B6AEE9
Palette 89ac46
#89AC46 · #D3E671 · #F8ED8C · #FF8989

Similar colors

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

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

Browse neighbouring colors

← #D4E164  ·  #D4E166 →

Frequently asked questions

What color is #D4E165?

#D4E165 is Yellow, a yellow color (RGB 212, 225, 101). Its closest standard named color is DarkKhaki.

What is the RGB and HSL of #D4E165?

#D4E165 is RGB 212, 225, 101 — HSL 66°, 67%, 64% — CMYK 6%, 0%, 55%, 12%.

What colors go with #D4E165?

Its complement is #7266E1; analogous partners are #E1B066 and #97E166. It also appears in 6+ palettes in our collection.

Can I use #D4E165 for text?

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