#D2F162#D2F162
#D2F162 is a very light, vivid yellow-green. Relative luminance 0.775; OKLCH L 90.8% C 0.171 H 120.2°. Best body text is #000000 at 16.50:1 contrast (WCAG AA passes).
Color values
| HEX | #D2F162 |
|---|---|
| RGB | rgb(210, 241, 98) |
| HSL | hsl(73, 84%, 66%) |
| HSV | hsv(73, 59%, 95%) |
| CMYK | cmyk(12.9%, 0%, 59.3%, 5.5%) |
| CIE-LAB | lab(90.55, -29.77, 64.01) |
| CIE-LCH | lch(90.55, 70.60, 114.94°) |
| OKLab | oklab(90.83% -0.086 0.1476) |
| OKLCH | oklch(90.83% 0.171 120.2) |
| XYZ | xyz(60.2390, 77.4943, 23.3373) |
| Luminance | 0.7749 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pear
#CBF85F
ΔE00 2.50
Yellowy Green
#BFF128
ΔE00 4.52
Yellow Green
#C8FD3D
ΔE00 4.65
Light Yellow Green
#CCFD7F
ΔE00 4.95
Sickly Yellow
#D0E429
ΔE00 5.47
Greeny Yellow
#C6F808
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2F162 #8162F1
analogous
#F1C962 #D2F162 #8BF162
triadic
#D2F162 #62D2F1 #F162D2
tetradic
#D2F162 #62F1C9 #8162F1 #F1628B
square
#D2F162 #62F1C9 #8162F1 #F1628B
split-complementary
#D2F162 #628BF1 #C962F1
monochromatic
#A0C712 #C2EC2A #D2F162 #E2F69A #F2FBD2
Accessibility & contrast
On white
1.27
#D2F162 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.50
#D2F162 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2F162
16.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2F162 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2F162 | 1.00 | 1.27 | 16.50 | 16.50 |
| #FFFFFF | 1.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE452
Deuteranopia (green-blind)
#FBE46C
Tritanopia (blue-blind)
#DDE5D3
Achromatopsia (no color)
#E4E4E4
Design tokens & code
CSS
--color: #d2f162; /* rgb */ color: rgb(210, 241, 98); /* oklch */ color: oklch(90.8% 0.171 120.2);
Tailwind
colors: {
custom: {
50: '#e3f594',
500: '#d2f162',
950: '#000000',
},
}SCSS
$custom: #d2f162; $custom-light: #e3f594; $custom-dark: #000000;
JSON
{
"hex": "#d2f162",
"rgb": {
"r": 210,
"g": 241,
"b": 98
},
"hsl": {
"h": 73.007,
"s": 83.626,
"l": 66.471
},
"oklch": {
"l": 0.90827,
"c": 0.17083,
"h": 120.2
},
"luminance": 0.77494
}Semantic roles & 50–950 ramp
primary
#D2F162
secondary
#5333C4
accent
#05E035
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16170D
muted
#84857F