#D2E472#D2E472
#D2E472 is a very light, vivid yellow. Relative luminance 0.704; OKLCH L 88.2% C 0.141 H 116.8°. Best body text is #000000 at 15.08:1 contrast (WCAG AA passes).
Color values
| HEX | #D2E472 |
|---|---|
| RGB | rgb(210, 228, 114) |
| HSL | hsl(69, 68%, 67%) |
| HSV | hsv(69, 50%, 89%) |
| CMYK | cmyk(7.9%, 0%, 50%, 10.6%) |
| CIE-LAB | lab(87.19, -22.27, 53.08) |
| CIE-LCH | lch(87.19, 57.56, 112.76°) |
| OKLab | oklab(88.19% -0.0635 0.1257) |
| OKLCH | oklch(88.19% 0.141 116.8) |
| XYZ | xyz(57.3597, 70.4039, 26.4839) |
| Luminance | 0.7040 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 5.40
Pear
#CBF85F
ΔE00 6.31
Light Khaki
#E6F2A2
ΔE00 6.38
Sickly Yellow
#D0E429
ΔE00 6.73
Light Yellow Green
#CCFD7F
ΔE00 7.01
Greenish Tan
#BCCB7A
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2E472 #8472E4
analogous
#E4BD72 #D2E472 #99E472
triadic
#D2E472 #72D2E4 #E472D2
tetradic
#D2E472 #72E4BD #8472E4 #E47299
square
#D2E472 #72E4BD #8472E4 #E47299
split-complementary
#D2E472 #7299E4 #BD72E4
monochromatic
#A1B823 #C2DA3F #D2E472 #E2EEA5 #F3F8D9
Accessibility & contrast
On white
1.39
#D2E472 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.08
#D2E472 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2E472
15.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2E472 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2E472 | 1.00 | 1.39 | 15.08 | 15.08 |
| #FFFFFF | 1.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F1DA68
Deuteranopia (green-blind)
#EFDB78
Tritanopia (blue-blind)
#DDD9CA
Achromatopsia (no color)
#DADADA
Design tokens & code
CSS
--color: #d2e472; /* rgb */ color: rgb(210, 228, 114); /* oklch */ color: oklch(88.2% 0.141 116.8);
Tailwind
colors: {
custom: {
50: '#e2ec9d',
500: '#d2e472',
950: '#000000',
},
}SCSS
$custom: #d2e472; $custom-light: #e2ec9d; $custom-dark: #000000;
JSON
{
"hex": "#d2e472",
"rgb": {
"r": 210,
"g": 228,
"b": 114
},
"hsl": {
"h": 69.474,
"s": 67.857,
"l": 67.059
},
"oklch": {
"l": 0.88187,
"c": 0.14078,
"h": 116.8
},
"luminance": 0.70403
}Semantic roles & 50–950 ramp
primary
#D2E472
secondary
#5442B9
accent
#16D033
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#16160E
muted
#84847F