#D2F97A#D2F97A
#D2F97A is a very light, vivid yellow-green. Relative luminance 0.829; OKLCH L 92.8% C 0.160 H 123.6°. Best body text is #000000 at 17.57:1 contrast (WCAG AA passes).
Color values
| HEX | #D2F97A |
|---|---|
| RGB | rgb(210, 249, 122) |
| HSL | hsl(78, 91%, 73%) |
| HSV | hsv(78, 51%, 98%) |
| CMYK | cmyk(15.7%, 0%, 51%, 2.4%) |
| CIE-LAB | lab(92.95, -31.45, 56.23) |
| CIE-LCH | lch(92.95, 64.43, 119.22°) |
| OKLab | oklab(92.84% -0.0886 0.1332) |
| OKLCH | oklch(92.84% 0.16 123.6) |
| XYZ | xyz(63.9670, 82.8578, 31.0318) |
| Luminance | 0.8286 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Light Yellow Green
#CCFD7F
ΔE00 1.90
Pear
#CBF85F
ΔE00 2.84
Light Pea Green
#C4FE82
ΔE00 3.46
Pale Lime
#BEFD73
ΔE00 3.67
Light Yellowish Green
#C2FF89
ΔE00 4.41
Pistachio (survey)
#C0FA8B
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2F97A #A17AF9
analogous
#F9E07A #D2F97A #92F97A
triadic
#D2F97A #7AD2F9 #F97AD2
tetradic
#D2F97A #7AF9E0 #A17AF9 #F97A92
square
#D2F97A #7AF9E0 #A17AF9 #F97A92
split-complementary
#D2F97A #7A92F9 #E07AF9
monochromatic
#A8EE0B #BEF63F #D2F97A #E6FCB5 #F5FEE2
Accessibility & contrast
On white
1.20
#D2F97A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.57
#D2F97A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2F97A
17.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2F97A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2F97A | 1.00 | 1.20 | 17.57 | 17.57 |
| #FFFFFF | 1.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEC6E
Deuteranopia (green-blind)
#FFEB82
Tritanopia (blue-blind)
#DAEFDC
Achromatopsia (no color)
#EBEBEB
Design tokens & code
CSS
--color: #d2f97a; /* rgb */ color: rgb(210, 249, 122); /* oklch */ color: oklch(92.8% 0.160 123.6);
Tailwind
colors: {
custom: {
50: '#e2fba3',
500: '#d2f97a',
950: '#000000',
},
}SCSS
$custom: #d2f97a; $custom-light: #e2fba3; $custom-dark: #000000;
JSON
{
"hex": "#d2f97a",
"rgb": {
"r": 210,
"g": 249,
"b": 122
},
"hsl": {
"h": 78.425,
"s": 91.367,
"l": 72.745
},
"oklch": {
"l": 0.92836,
"c": 0.15998,
"h": 123.6
},
"luminance": 0.82858
}Semantic roles & 50–950 ramp
primary
#D2F97A
secondary
#6F42D5
accent
#00E646
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#16170F
muted
#848580