#DEF8A2#DEF8A2
#DEF8A2 is a very light, moderate yellow-green. Relative luminance 0.853; OKLCH L 94.0% C 0.113 H 122.3°. Best body text is #000000 at 18.05:1 contrast (WCAG AA passes).
Color values
| HEX | #DEF8A2 |
|---|---|
| RGB | rgb(222, 248, 162) |
| HSL | hsl(78, 86%, 80%) |
| HSV | hsv(78, 35%, 97%) |
| CMYK | cmyk(10.5%, 0%, 34.7%, 2.7%) |
| CIE-LAB | lab(94.00, -22.15, 38.57) |
| CIE-LCH | lch(94.00, 44.48, 119.87°) |
| OKLab | oklab(94.05% -0.0603 0.0955) |
| OKLCH | oklch(94.05% 0.113 122.3) |
| XYZ | xyz(70.2128, 85.2730, 46.9358) |
| Luminance | 0.8527 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Light Khaki
#E6F2A2
ΔE00 3.17
Celery
#C1FD95
ΔE00 5.96
Pistachio (survey)
#C0FA8B
ΔE00 5.99
Light Yellow Green
#CCFD7F
ΔE00 6.08
Light Light Green
#C8FFB0
ΔE00 6.12
Tea Green
#BDF8A3
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DEF8A2 #BCA2F8
analogous
#F8E7A2 #DEF8A2 #B3F8A2
triadic
#DEF8A2 #A2DEF8 #F8A2DE
tetradic
#DEF8A2 #A2F8E7 #BCA2F8 #F8A2B3
square
#DEF8A2 #A2F8E7 #BCA2F8 #F8A2B3
split-complementary
#DEF8A2 #A2B3F8 #E7A2F8
monochromatic
#B6EF30 #CAF469 #DEF8A2 #F2FCDB #F5FDE3
Accessibility & contrast
On white
1.16
#DEF8A2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.05
#DEF8A2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DEF8A2
18.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DEF8A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DEF8A2 | 1.00 | 1.16 | 18.05 | 18.05 |
| #FFFFFF | 1.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEE9C
Deuteranopia (green-blind)
#FEEEA6
Tritanopia (blue-blind)
#E5F0E2
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #def8a2; /* rgb */ color: rgb(222, 248, 162); /* oklch */ color: oklch(94.0% 0.113 122.3);
Tailwind
colors: {
custom: {
50: '#e9fabe',
500: '#def8a2',
950: '#000000',
},
}SCSS
$custom: #def8a2; $custom-light: #e9fabe; $custom-dark: #000000;
JSON
{
"hex": "#def8a2",
"rgb": {
"r": 222,
"g": 248,
"b": 162
},
"hsl": {
"h": 78.14,
"s": 86,
"l": 80.392
},
"oklch": {
"l": 0.94048,
"c": 0.11291,
"h": 122.3
},
"luminance": 0.85273
}Semantic roles & 50–950 ramp
primary
#DEF8A2
secondary
#8865D9
accent
#03E347
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161712
muted
#848582