Skip to content

#d4df80

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

RGB
212, 223, 128
HSL
67°, 60%, 69%
CMYK
5, 0, 43, 13
Luminance
0.6833

Every format

HEX#d4df80
RGBrgb(212, 223, 128)
HSLhsl(67, 60%, 69%)
CMYKcmyk(5%, 0%, 43%, 13%)
LABlab(86.2 -17.7 45.2)
LCHlch(86.2 48.5 111.4)
OKLCHoklch(0.875 0.120 114.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d4df80 on white: 1.43:1
AA ✗ fail · AA-large · AAA
Aa
#d4df80 on black: 14.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red83.1%
Green87.5%
Blue50.2%

CMYK percentages

Cyan4.9%
Magenta0.0%
Yellow42.6%
Key (black)12.5%

Color previews

#d4df80 text on a black background

contrast 14.67:1

Card sample

#d4df80 text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d4df80

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d4df80 in the Color Lab