#DEF28E#DEF28E
#DEF28E is a very light, vivid yellow-green. Relative luminance 0.810; OKLCH L 92.5% C 0.127 H 118.2°. Best body text is #000000 at 17.20:1 contrast (WCAG AA passes).
Color values
| HEX | #DEF28E |
|---|---|
| RGB | rgb(222, 242, 142) |
| HSL | hsl(72, 79%, 75%) |
| HSV | hsv(72, 41%, 95%) |
| CMYK | cmyk(8.3%, 0%, 41.3%, 5.1%) |
| CIE-LAB | lab(92.13, -21.61, 45.98) |
| CIE-LCH | lch(92.13, 50.81, 115.17°) |
| OKLab | oklab(92.46% -0.0599 0.1117) |
| OKLCH | oklch(92.46% 0.127 118.2) |
| XYZ | xyz(66.7591, 80.9873, 37.7011) |
| Luminance | 0.8099 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Light Khaki
#E6F2A2
ΔE00 3.42
Light Yellow Green
#CCFD7F
ΔE00 5.60
Yellowish Tan
#FCFC81
ΔE00 6.64
Pear
#CBF85F
ΔE00 6.70
Light Pea Green
#C4FE82
ΔE00 6.76
Pistachio (survey)
#C0FA8B
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DEF28E #A28EF2
analogous
#F2D48E #DEF28E #ACF28E
triadic
#DEF28E #8EDEF2 #F28EDE
tetradic
#DEF28E #8EF2D4 #A28EF2 #F28EAC
square
#DEF28E #8EF2D4 #A28EF2 #F28EAC
split-complementary
#DEF28E #8EACF2 #D48EF2
monochromatic
#BEE520 #CEEC57 #DEF28E #EEF8C5 #F7FCE4
Accessibility & contrast
On white
1.22
#DEF28E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.20
#DEF28E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DEF28E
17.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DEF28E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DEF28E | 1.00 | 1.22 | 17.20 | 17.20 |
| #FFFFFF | 1.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FEE886
Deuteranopia (green-blind)
#FCE993
Tritanopia (blue-blind)
#E7E8DA
Achromatopsia (no color)
#E8E8E8
Design tokens & code
CSS
--color: #def28e; /* rgb */ color: rgb(222, 242, 142); /* oklch */ color: oklch(92.5% 0.127 118.2);
Tailwind
colors: {
custom: {
50: '#e9f6b0',
500: '#def28e',
950: '#000000',
},
}SCSS
$custom: #def28e; $custom-light: #e9f6b0; $custom-dark: #000000;
JSON
{
"hex": "#def28e",
"rgb": {
"r": 222,
"g": 242,
"b": 142
},
"hsl": {
"h": 72,
"s": 79.365,
"l": 75.294
},
"oklch": {
"l": 0.92456,
"c": 0.1267,
"h": 118.2
},
"luminance": 0.80987
}Semantic roles & 50–950 ramp
primary
#DEF28E
secondary
#6E56CF
accent
#0ADC34
background
#FEFFFD
surface
#FDFEF7
border
#D5D6D0
text
#161711
muted
#848581