#D2E456#D2E456
#D2E456 is a very light, vivid yellow. Relative luminance 0.699; OKLCH L 87.9% C 0.165 H 116.0°. Best body text is #000000 at 14.97:1 contrast (WCAG AA passes).
Color values
| HEX | #D2E456 |
|---|---|
| RGB | rgb(210, 228, 86) |
| HSL | hsl(68, 72%, 62%) |
| HSV | hsv(68, 62%, 89%) |
| CMYK | cmyk(7.9%, 0%, 62.3%, 10.6%) |
| CIE-LAB | lab(86.93, -24.48, 65.05) |
| CIE-LCH | lch(86.93, 69.50, 110.63°) |
| OKLab | oklab(87.89% -0.0724 0.1483) |
| OKLCH | oklch(87.89% 0.165 116) |
| XYZ | xyz(56.0027, 69.8611, 19.3366) |
| Luminance | 0.6986 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Yellow
#D0E429
ΔE00 3.42
Yellowish Green
#B0DD16
ΔE00 5.84
Pear
#CBF85F
ΔE00 5.86
Yellowy Green
#BFF128
ΔE00 6.01
Green Yellow
#B5CE08
ΔE00 6.43
Off Yellow
#F1F33F
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2E456 #6856E4
analogous
#E4AF56 #D2E456 #8BE456
triadic
#D2E456 #56D2E4 #E456D2
tetradic
#D2E456 #56E4AF #6856E4 #E4568B
square
#D2E456 #56E4AF #6856E4 #E4568B
split-complementary
#D2E456 #568BE4 #AF56E4
monochromatic
#94A51A #C3DA23 #D2E456 #E0EC8B #EEF5C0
Accessibility & contrast
On white
1.40
#D2E456 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.97
#D2E456 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2E456
14.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2E456 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2E456 | 1.00 | 1.40 | 14.97 | 14.97 |
| #FFFFFF | 1.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F3D944
Deuteranopia (green-blind)
#F1DB60
Tritanopia (blue-blind)
#DED8C6
Achromatopsia (no color)
#DADADA
Design tokens & code
CSS
--color: #d2e456; /* rgb */ color: rgb(210, 228, 86); /* oklch */ color: oklch(87.9% 0.165 116.0);
Tailwind
colors: {
custom: {
50: '#e3ec8c',
500: '#d2e456',
950: '#000000',
},
}SCSS
$custom: #d2e456; $custom-light: #e3ec8c; $custom-dark: #000000;
JSON
{
"hex": "#d2e456",
"rgb": {
"r": 210,
"g": 228,
"b": 86
},
"hsl": {
"h": 67.606,
"s": 72.449,
"l": 61.569
},
"oklch": {
"l": 0.87888,
"c": 0.16499,
"h": 116
},
"luminance": 0.6986
}Semantic roles & 50–950 ramp
primary
#D2E456
secondary
#4537A7
accent
#11D52A
background
#FEFEFC
surface
#FDFDF4
border
#D5D5CE
text
#16160C
muted
#84847F