#DEF99E#DEF99E
#DEF99E is a very light, moderate yellow-green. Relative luminance 0.858; OKLCH L 94.2% C 0.119 H 122.2°. Best body text is #000000 at 18.15:1 contrast (WCAG AA passes).
Color values
| HEX | #DEF99E |
|---|---|
| RGB | rgb(222, 249, 158) |
| HSL | hsl(78, 88%, 80%) |
| HSV | hsv(78, 37%, 98%) |
| CMYK | cmyk(10.8%, 0%, 36.5%, 2.4%) |
| CIE-LAB | lab(94.21, -23.12, 40.82) |
| CIE-LCH | lch(94.21, 46.91, 119.53°) |
| OKLab | oklab(94.19% -0.0632 0.1006) |
| OKLCH | oklch(94.19% 0.119 122.2) |
| XYZ | xyz(70.1712, 85.7495, 45.1957) |
| Luminance | 0.8575 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Light Khaki
#E6F2A2
ΔE00 3.51
Light Yellow Green
#CCFD7F
ΔE00 5.37
Pistachio (survey)
#C0FA8B
ΔE00 5.59
Celery
#C1FD95
ΔE00 5.70
Light Pea Green
#C4FE82
ΔE00 6.03
Light Yellowish Green
#C2FF89
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DEF99E #B99EF9
analogous
#F9E69E #DEF99E #B1F99E
triadic
#DEF99E #9EDEF9 #F99EDE
tetradic
#DEF99E #9EF9E6 #B99EF9 #F99EB1
square
#DEF99E #9EF9E6 #B99EF9 #F99EB1
split-complementary
#DEF99E #9EB1F9 #E69EF9
monochromatic
#B7F22B #CAF564 #DEF99E #F2FDD8 #F5FDE2
Accessibility & contrast
On white
1.16
#DEF99E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.15
#DEF99E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DEF99E
18.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DEF99E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DEF99E | 1.00 | 1.16 | 18.15 | 18.15 |
| #FFFFFF | 1.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEF97
Deuteranopia (green-blind)
#FFEEA2
Tritanopia (blue-blind)
#E5F0E2
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #def99e; /* rgb */ color: rgb(222, 249, 158); /* oklch */ color: oklch(94.2% 0.119 122.2);
Tailwind
colors: {
custom: {
50: '#e9fbbb',
500: '#def99e',
950: '#000000',
},
}SCSS
$custom: #def99e; $custom-light: #e9fbbb; $custom-dark: #000000;
JSON
{
"hex": "#def99e",
"rgb": {
"r": 222,
"g": 249,
"b": 158
},
"hsl": {
"h": 77.802,
"s": 88.35,
"l": 79.804
},
"oklch": {
"l": 0.94191,
"c": 0.11877,
"h": 122.2
},
"luminance": 0.8575
}Semantic roles & 50–950 ramp
primary
#DEF99E
secondary
#8561DA
accent
#01E544
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161712
muted
#848582