#D2E452#D2E452
#D2E452 is a very light, vivid yellow. Relative luminance 0.698; OKLCH L 87.9% C 0.168 H 116.0°. Best body text is #000000 at 14.96:1 contrast (WCAG AA passes).
Color values
| HEX | #D2E452 |
|---|---|
| RGB | rgb(210, 228, 82) |
| HSL | hsl(67, 73%, 61%) |
| HSV | hsv(67, 64%, 89%) |
| CMYK | cmyk(7.9%, 0%, 64%, 10.6%) |
| CIE-LAB | lab(86.90, -24.74, 66.61) |
| CIE-LCH | lch(86.90, 71.06, 110.38°) |
| OKLab | oklab(87.85% -0.0735 0.151) |
| OKLCH | oklch(87.85% 0.168 116) |
| XYZ | xyz(55.8460, 69.7984, 18.5115) |
| Luminance | 0.6980 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Yellow
#D0E429
ΔE00 3.02
Yellowish Green
#B0DD16
ΔE00 5.69
Yellowy Green
#BFF128
ΔE00 5.86
Pear
#CBF85F
ΔE00 5.94
Green Yellow
#B5CE08
ΔE00 6.25
Off Yellow
#F1F33F
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2E452 #6452E4
analogous
#E4AD52 #D2E452 #89E452
triadic
#D2E452 #52D2E4 #E452D2
tetradic
#D2E452 #52E4AD #6452E4 #E45289
square
#D2E452 #52E4AD #6452E4 #E45289
split-complementary
#D2E452 #5289E4 #AD52E4
monochromatic
#91A219 #C1D722 #D2E452 #E0EC87 #EEF5BC
Accessibility & contrast
On white
1.40
#D2E452 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.96
#D2E452 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2E452
14.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2E452 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2E452 | 1.00 | 1.40 | 14.96 | 14.96 |
| #FFFFFF | 1.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F3D93E
Deuteranopia (green-blind)
#F2DB5C
Tritanopia (blue-blind)
#DFD8C6
Achromatopsia (no color)
#DADADA
Design tokens & code
CSS
--color: #d2e452; /* rgb */ color: rgb(210, 228, 82); /* oklch */ color: oklch(87.9% 0.168 116.0);
Tailwind
colors: {
custom: {
50: '#e3ec89',
500: '#d2e452',
950: '#000000',
},
}SCSS
$custom: #d2e452; $custom-light: #e3ec89; $custom-dark: #000000;
JSON
{
"hex": "#d2e452",
"rgb": {
"r": 210,
"g": 228,
"b": 82
},
"hsl": {
"h": 67.397,
"s": 73,
"l": 60.784
},
"oklch": {
"l": 0.87854,
"c": 0.16795,
"h": 116
},
"luminance": 0.69798
}Semantic roles & 50–950 ramp
primary
#D2E452
secondary
#4335A5
accent
#10D529
background
#FEFEFC
surface
#FDFDF4
border
#D5D5CE
text
#16160C
muted
#84847F