Skip to content

#d4df70

a light, vivid yellow · cool · closest name: khaki

RGB
212, 223, 112
HSL
66°, 63%, 66%
CMYK
5, 0, 50, 13
Luminance
0.6794

Every format

HEX#d4df70
RGBrgb(212, 223, 112)
HSLhsl(66, 63%, 66%)
CMYKcmyk(5%, 0%, 50%, 13%)
LABlab(86.0 -19.2 52.6)
LCHlch(86.0 56.0 110.1)
OKLCHoklch(0.872 0.136 113.9)

Copy-ready code

/* CSS */
color: #d4df70;
background-color: #d4df70;
/* Tailwind (arbitrary) */
class="text-[#d4df70] bg-[#d4df70]"
/* SCSS */
$brand: #d4df70;
/* SwiftUI */
Color(red: 0.831, green: 0.875, blue: 0.439)
/* Android */
Color.parseColor("#d4df70")

Accessibility — WCAG contrast

Aa
#d4df70 on white: 1.44:1
AA ✗ fail · AA-large · AAA
Aa
#d4df70 on black: 14.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red83.1%
Green87.5%
Blue43.9%

CMYK percentages

Cyan4.9%
Magenta0.0%
Yellow49.8%
Key (black)12.5%

Color previews

#d4df70 text on a black background

contrast 14.59:1

Card sample

#d4df70 text on a white background

contrast 1.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #d4df70;
Background color
Panel with #d4df70 background
background-color: #d4df70;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #d4df70;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(212, 223, 112, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(212, 223, 112, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d4df70;
background: linear-gradient(135deg, #d4df70, #8ADF70);

Monochromatic scale

Palettes built from #d4df70

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d4df70 in the Color Lab