#D2F166#D2F166
#D2F166 is a very light, vivid yellow-green. Relative luminance 0.776; OKLCH L 90.9% C 0.168 H 120.4°. Best body text is #000000 at 16.51:1 contrast (WCAG AA passes).
Color values
| HEX | #D2F166 |
|---|---|
| RGB | rgb(210, 241, 102) |
| HSL | hsl(73, 83%, 67%) |
| HSV | hsv(73, 58%, 95%) |
| CMYK | cmyk(12.9%, 0%, 57.7%, 5.5%) |
| CIE-LAB | lab(90.58, -29.47, 62.36) |
| CIE-LCH | lch(90.58, 68.97, 115.29°) |
| OKLab | oklab(90.87% -0.0848 0.1445) |
| OKLCH | oklch(90.87% 0.168 120.4) |
| XYZ | xyz(60.4326, 77.5717, 24.3570) |
| Luminance | 0.7757 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pear
#CBF85F
ΔE00 2.54
Light Yellow Green
#CCFD7F
ΔE00 4.64
Yellowy Green
#BFF128
ΔE00 4.87
Yellow Green
#C8FD3D
ΔE00 4.93
Pale Lime
#BEFD73
ΔE00 5.73
Sickly Yellow
#D0E429
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2F166 #8566F1
analogous
#F1CA66 #D2F166 #8DF166
triadic
#D2F166 #66D2F1 #F166D2
tetradic
#D2F166 #66F1CA #8566F1 #F1668D
square
#D2F166 #66F1CA #8566F1 #F1668D
split-complementary
#D2F166 #668DF1 #CA66F1
monochromatic
#A1CA12 #C2EC2E #D2F166 #E2F69E #F3FBD6
Accessibility & contrast
On white
1.27
#D2F166 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.51
#D2F166 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2F166
16.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2F166 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2F166 | 1.00 | 1.27 | 16.51 | 16.51 |
| #FFFFFF | 1.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE457
Deuteranopia (green-blind)
#FBE46F
Tritanopia (blue-blind)
#DCE6D3
Achromatopsia (no color)
#E4E4E4
Design tokens & code
CSS
--color: #d2f166; /* rgb */ color: rgb(210, 241, 102); /* oklch */ color: oklch(90.9% 0.168 120.4);
Tailwind
colors: {
custom: {
50: '#e2f596',
500: '#d2f166',
950: '#000000',
},
}SCSS
$custom: #d2f166; $custom-light: #e2f596; $custom-dark: #000000;
JSON
{
"hex": "#d2f166",
"rgb": {
"r": 210,
"g": 241,
"b": 102
},
"hsl": {
"h": 73.381,
"s": 83.234,
"l": 67.255
},
"oklch": {
"l": 0.90867,
"c": 0.16756,
"h": 120.4
},
"luminance": 0.77572
}Semantic roles & 50–950 ramp
primary
#D2F166
secondary
#5534C7
accent
#06E036
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16170E
muted
#84857F