#DEF57D#DEF57D
#DEF57D is a very light, vivid yellow-green. Relative luminance 0.823; OKLCH L 92.9% C 0.148 H 118.3°. Best body text is #000000 at 17.46:1 contrast (WCAG AA passes).
Color values
| HEX | #DEF57D |
|---|---|
| RGB | rgb(222, 245, 125) |
| HSL | hsl(72, 86%, 73%) |
| HSV | hsv(72, 49%, 96%) |
| CMYK | cmyk(9.4%, 0%, 49%, 3.9%) |
| CIE-LAB | lab(92.71, -24.76, 54.77) |
| CIE-LCH | lch(92.71, 60.10, 114.33°) |
| OKLab | oklab(92.86% -0.0702 0.1301) |
| OKLCH | oklch(92.86% 0.148 118.3) |
| XYZ | xyz(66.4789, 82.3155, 31.7844) |
| Luminance | 0.8232 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pear
#CBF85F
ΔE00 4.50
Light Yellow Green
#CCFD7F
ΔE00 4.73
Yellowish Tan
#FCFC81
ΔE00 5.70
Faded Yellow
#FEFF7F
ΔE00 5.90
Light Khaki
#E6F2A2
ΔE00 5.93
Pale Yellow
#FFFF84
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DEF57D #947DF5
analogous
#F5D07D #DEF57D #A2F57D
triadic
#DEF57D #7DDEF5 #F57DDE
tetradic
#DEF57D #7DF5D0 #947DF5 #F57DA2
square
#DEF57D #7DF5D0 #947DF5 #F57DA2
split-complementary
#DEF57D #7DA2F5 #D07DF5
monochromatic
#BDE612 #D0F144 #DEF57D #ECF9B6 #F8FDE3
Accessibility & contrast
On white
1.20
#DEF57D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.46
#DEF57D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DEF57D
17.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DEF57D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DEF57D | 1.00 | 1.20 | 17.46 | 17.46 |
| #FFFFFF | 1.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEA72
Deuteranopia (green-blind)
#FFEB84
Tritanopia (blue-blind)
#E8EAD9
Achromatopsia (no color)
#EAEAEA
Design tokens & code
CSS
--color: #def57d; /* rgb */ color: rgb(222, 245, 125); /* oklch */ color: oklch(92.9% 0.148 118.3);
Tailwind
colors: {
custom: {
50: '#eaf8a5',
500: '#def57d',
950: '#000000',
},
}SCSS
$custom: #def57d; $custom-light: #eaf8a5; $custom-dark: #000000;
JSON
{
"hex": "#def57d",
"rgb": {
"r": 222,
"g": 245,
"b": 125
},
"hsl": {
"h": 71.5,
"s": 85.714,
"l": 72.549
},
"oklch": {
"l": 0.92858,
"c": 0.14781,
"h": 118.3
},
"luminance": 0.82315
}Semantic roles & 50–950 ramp
primary
#DEF57D
secondary
#6046D1
accent
#03E22E
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#16170F
muted
#858580