#DEF57A#DEF57A
#DEF57A is a very light, vivid yellow-green. Relative luminance 0.822; OKLCH L 92.8% C 0.151 H 118.2°. Best body text is #000000 at 17.45:1 contrast (WCAG AA passes).
Color values
| HEX | #DEF57A |
|---|---|
| RGB | rgb(222, 245, 122) |
| HSL | hsl(71, 86%, 72%) |
| HSV | hsv(71, 50%, 96%) |
| CMYK | cmyk(9.4%, 0%, 50.2%, 3.9%) |
| CIE-LAB | lab(92.68, -25.04, 56.11) |
| CIE-LCH | lch(92.68, 61.44, 114.05°) |
| OKLab | oklab(92.82% -0.0712 0.1328) |
| OKLCH | oklch(92.82% 0.151 118.2) |
| XYZ | xyz(66.2902, 82.2400, 30.7903) |
| Luminance | 0.8224 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pear
#CBF85F
ΔE00 4.30
Light Yellow Green
#CCFD7F
ΔE00 4.83
Yellowish Tan
#FCFC81
ΔE00 5.60
Faded Yellow
#FEFF7F
ΔE00 5.77
Pale Yellow
#FFFF84
ΔE00 5.87
Butter
#FFFF81
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DEF57A #917AF5
analogous
#F5CF7A #DEF57A #A0F57A
triadic
#DEF57A #7ADEF5 #F57ADE
tetradic
#DEF57A #7AF5CF #917AF5 #F57AA0
square
#DEF57A #7AF5CF #917AF5 #F57AA0
split-complementary
#DEF57A #7AA0F5 #CF7AF5
monochromatic
#BCE311 #D0F141 #DEF57A #ECF9B3 #F8FDE3
Accessibility & contrast
On white
1.20
#DEF57A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.45
#DEF57A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DEF57A
17.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DEF57A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DEF57A | 1.00 | 1.20 | 17.45 | 17.45 |
| #FFFFFF | 1.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEA6F
Deuteranopia (green-blind)
#FFEB81
Tritanopia (blue-blind)
#E9EAD9
Achromatopsia (no color)
#EAEAEA
Design tokens & code
CSS
--color: #def57a; /* rgb */ color: rgb(222, 245, 122); /* oklch */ color: oklch(92.8% 0.151 118.2);
Tailwind
colors: {
custom: {
50: '#eaf8a3',
500: '#def57a',
950: '#000000',
},
}SCSS
$custom: #def57a; $custom-light: #eaf8a3; $custom-dark: #000000;
JSON
{
"hex": "#def57a",
"rgb": {
"r": 222,
"g": 245,
"b": 122
},
"hsl": {
"h": 71.22,
"s": 86.014,
"l": 71.961
},
"oklch": {
"l": 0.92821,
"c": 0.15067,
"h": 118.2
},
"luminance": 0.8224
}Semantic roles & 50–950 ramp
primary
#DEF57A
secondary
#5D43D0
accent
#03E32D
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#16170F
muted
#858580