#D2E87F#D2E87F
#D2E87F is a very light, vivid yellow-green. Relative luminance 0.729; OKLCH L 89.2% C 0.133 H 118.9°. Best body text is #000000 at 15.59:1 contrast (WCAG AA passes).
Color values
| HEX | #D2E87F |
|---|---|
| RGB | rgb(210, 232, 127) |
| HSL | hsl(73, 70%, 70%) |
| HSV | hsv(73, 45%, 91%) |
| CMYK | cmyk(9.5%, 0%, 45.3%, 9%) |
| CIE-LAB | lab(88.42, -22.94, 48.42) |
| CIE-LCH | lch(88.42, 53.58, 115.35°) |
| OKLab | oklab(89.22% -0.0642 0.1164) |
| OKLCH | oklch(89.22% 0.133 118.9) |
| XYZ | xyz(59.2661, 72.9475, 31.0326) |
| Luminance | 0.7295 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Light Khaki
#E6F2A2
ΔE00 5.07
Greenish Beige
#C9D179
ΔE00 5.79
Light Yellow Green
#CCFD7F
ΔE00 5.92
Pear
#CBF85F
ΔE00 6.30
Pale Olive Green
#B1D27B
ΔE00 6.85
Pistachio (survey)
#C0FA8B
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2E87F #957FE8
analogous
#E8C97F #D2E87F #9EE87F
triadic
#D2E87F #7FD2E8 #E87FD2
tetradic
#D2E87F #7FE8C9 #957FE8 #E87F9E
square
#D2E87F #7FE8C9 #957FE8 #E87F9E
split-complementary
#D2E87F #7F9EE8 #C97FE8
monochromatic
#A6C924 #C0DF4B #D2E87F #E4F1B3 #F6FAE5
Accessibility & contrast
On white
1.35
#D2E87F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.59
#D2E87F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2E87F
15.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2E87F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2E87F | 1.00 | 1.35 | 15.59 | 15.59 |
| #FFFFFF | 1.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F4DE76
Deuteranopia (green-blind)
#F1DE85
Tritanopia (blue-blind)
#DBDECF
Achromatopsia (no color)
#DEDEDE
Design tokens & code
CSS
--color: #d2e87f; /* rgb */ color: rgb(210, 232, 127); /* oklch */ color: oklch(89.2% 0.133 118.9);
Tailwind
colors: {
custom: {
50: '#e1efa6',
500: '#d2e87f',
950: '#000000',
},
}SCSS
$custom: #d2e87f; $custom-light: #e1efa6; $custom-dark: #000000;
JSON
{
"hex": "#d2e87f",
"rgb": {
"r": 210,
"g": 232,
"b": 127
},
"hsl": {
"h": 72.571,
"s": 69.536,
"l": 70.392
},
"oklch": {
"l": 0.8922,
"c": 0.13291,
"h": 118.9
},
"luminance": 0.72947
}Semantic roles & 50–950 ramp
primary
#D2E87F
secondary
#634BC1
accent
#14D23C
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15160F
muted
#848580