#D2F266#D2F266
#D2F266 is a very light, vivid yellow-green. Relative luminance 0.782; OKLCH L 91.1% C 0.169 H 120.7°. Best body text is #000000 at 16.63:1 contrast (WCAG AA passes).
Color values
| HEX | #D2F266 |
|---|---|
| RGB | rgb(210, 242, 102) |
| HSL | hsl(74, 84%, 67%) |
| HSV | hsv(74, 58%, 95%) |
| CMYK | cmyk(13.2%, 0%, 57.9%, 5.1%) |
| CIE-LAB | lab(90.86, -29.93, 62.66) |
| CIE-LCH | lch(90.86, 69.44, 115.53°) |
| OKLab | oklab(91.09% -0.0861 0.1452) |
| OKLCH | oklch(91.09% 0.169 120.7) |
| XYZ | xyz(60.7294, 78.1653, 24.4559) |
| Luminance | 0.7816 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pear
#CBF85F
ΔE00 2.31
Light Yellow Green
#CCFD7F
ΔE00 4.48
Yellow Green
#C8FD3D
ΔE00 4.74
Yellowy Green
#BFF128
ΔE00 4.78
Pale Lime
#BEFD73
ΔE00 5.55
Greeny Yellow
#C6F808
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2F266 #8666F2
analogous
#F2CC66 #D2F266 #8CF266
triadic
#D2F266 #66D2F2 #F266D2
tetradic
#D2F266 #66F2CC #8666F2 #F2668C
square
#D2F266 #66F2CC #8666F2 #F2668C
split-complementary
#D2F266 #668CF2 #CC66F2
monochromatic
#A2CC11 #C1ED2E #D2F266 #E3F79E #F3FCD7
Accessibility & contrast
On white
1.26
#D2F266 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.63
#D2F266 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2F266
16.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2F266 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2F266 | 1.00 | 1.26 | 16.63 | 16.63 |
| #FFFFFF | 1.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE557
Deuteranopia (green-blind)
#FCE56F
Tritanopia (blue-blind)
#DCE7D4
Achromatopsia (no color)
#E5E5E5
Design tokens & code
CSS
--color: #d2f266; /* rgb */ color: rgb(210, 242, 102); /* oklch */ color: oklch(91.1% 0.169 120.7);
Tailwind
colors: {
custom: {
50: '#e2f696',
500: '#d2f266',
950: '#000000',
},
}SCSS
$custom: #d2f266; $custom-light: #e2f696; $custom-dark: #000000;
JSON
{
"hex": "#d2f266",
"rgb": {
"r": 210,
"g": 242,
"b": 102
},
"hsl": {
"h": 73.714,
"s": 84.337,
"l": 67.451
},
"oklch": {
"l": 0.91085,
"c": 0.16878,
"h": 120.7
},
"luminance": 0.78165
}Semantic roles & 50–950 ramp
primary
#D2F266
secondary
#5634C9
accent
#05E137
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16170E
muted
#84857F