#D2E162#D2E162
#D2E162 is a very light, vivid yellow. Relative luminance 0.684; OKLCH L 87.4% C 0.152 H 115.2°. Best body text is #000000 at 14.69:1 contrast (WCAG AA passes).
Color values
| HEX | #D2E162 |
|---|---|
| RGB | rgb(210, 225, 98) |
| HSL | hsl(67, 68%, 63%) |
| HSV | hsv(67, 56%, 88%) |
| CMYK | cmyk(6.7%, 0%, 56.4%, 11.8%) |
| CIE-LAB | lab(86.22, -22.18, 59.20) |
| CIE-LCH | lch(86.22, 63.21, 110.54°) |
| OKLab | oklab(87.36% -0.0647 0.1373) |
| OKLCH | oklch(87.36% 0.152 115.2) |
| XYZ | xyz(55.7092, 68.4347, 21.8274) |
| Luminance | 0.6843 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Yellow
#D0E429
ΔE00 4.92
Greenish Beige
#C9D179
ΔE00 6.04
Pear
#CBF85F
ΔE00 6.63
Yellowish Green
#B0DD16
ΔE00 6.79
Green Yellow
#B5CE08
ΔE00 6.94
Straw
#FCF679
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2E162 #7162E1
analogous
#E1B162 #D2E162 #92E162
triadic
#D2E162 #62D2E1 #E162D2
tetradic
#D2E162 #62E1B1 #7162E1 #E16292
square
#D2E162 #62E1B1 #7162E1 #E16292
split-complementary
#D2E162 #6292E1 #B162E1
monochromatic
#98A820 #C3D72F #D2E162 #E1EB95 #EFF5C9
Accessibility & contrast
On white
1.43
#D2E162 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.69
#D2E162 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2E162
14.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2E162 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2E162 | 1.00 | 1.43 | 14.69 | 14.69 |
| #FFFFFF | 1.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EFD755
Deuteranopia (green-blind)
#EED96A
Tritanopia (blue-blind)
#DED5C5
Achromatopsia (no color)
#D8D8D8
Design tokens & code
CSS
--color: #d2e162; /* rgb */ color: rgb(210, 225, 98); /* oklch */ color: oklch(87.4% 0.152 115.2);
Tailwind
colors: {
custom: {
50: '#e2ea93',
500: '#d2e162',
950: '#000000',
},
}SCSS
$custom: #d2e162; $custom-light: #e2ea93; $custom-dark: #000000;
JSON
{
"hex": "#d2e162",
"rgb": {
"r": 210,
"g": 225,
"b": 98
},
"hsl": {
"h": 67.087,
"s": 67.914,
"l": 63.333
},
"oklch": {
"l": 0.87357,
"c": 0.15181,
"h": 115.2
},
"luminance": 0.68434
}Semantic roles & 50–950 ramp
primary
#D2E162
secondary
#4A3DAB
accent
#16D02C
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160D
muted
#84847F