#DEF56D#DEF56D
#DEF56D is a very light, vivid yellow-green. Relative luminance 0.819; OKLCH L 92.7% C 0.162 H 117.7°. Best body text is #000000 at 17.39:1 contrast (WCAG AA passes).
Color values
| HEX | #DEF56D |
|---|---|
| RGB | rgb(222, 245, 109) |
| HSL | hsl(70, 87%, 69%) |
| HSV | hsv(70, 56%, 96%) |
| CMYK | cmyk(9.4%, 0%, 55.5%, 3.9%) |
| CIE-LAB | lab(92.55, -26.15, 61.77) |
| CIE-LCH | lch(92.55, 67.08, 112.95°) |
| OKLab | oklab(92.67% -0.0755 0.1438) |
| OKLCH | oklch(92.67% 0.162 117.7) |
| XYZ | xyz(65.5379, 81.9391, 26.8283) |
| Luminance | 0.8194 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pear
#CBF85F
ΔE00 3.82
Yellowish Tan
#FCFC81
ΔE00 5.45
Faded Yellow
#FEFF7F
ΔE00 5.48
Light Yellow Green
#CCFD7F
ΔE00 5.53
Banana (survey)
#FFFF7E
ΔE00 5.69
Butter
#FFFF81
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DEF56D #846DF5
analogous
#F5C86D #DEF56D #9AF56D
triadic
#DEF56D #6DDEF5 #F56DDE
tetradic
#DEF56D #6DF5C8 #846DF5 #F56D9A
square
#DEF56D #6DF5C8 #846DF5 #F56D9A
split-complementary
#DEF56D #6D9AF5 #C86DF5
monochromatic
#B7D90F #D1F134 #DEF56D #EBF9A6 #F8FDE0
Accessibility & contrast
On white
1.21
#DEF56D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.39
#DEF56D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DEF56D
17.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DEF56D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DEF56D | 1.00 | 1.21 | 17.39 | 17.39 |
| #FFFFFF | 1.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE95F
Deuteranopia (green-blind)
#FFEA75
Tritanopia (blue-blind)
#EAE9D7
Achromatopsia (no color)
#EAEAEA
Design tokens & code
CSS
--color: #def56d; /* rgb */ color: rgb(222, 245, 109); /* oklch */ color: oklch(92.7% 0.162 117.7);
Tailwind
colors: {
custom: {
50: '#ebf89b',
500: '#def56d',
950: '#000000',
},
}SCSS
$custom: #def56d; $custom-light: #ebf89b; $custom-dark: #000000;
JSON
{
"hex": "#def56d",
"rgb": {
"r": 222,
"g": 245,
"b": 109
},
"hsl": {
"h": 70.147,
"s": 87.179,
"l": 69.412
},
"oklch": {
"l": 0.92672,
"c": 0.16244,
"h": 117.7
},
"luminance": 0.81939
}Semantic roles & 50–950 ramp
primary
#DEF56D
secondary
#5137CF
accent
#02E428
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170E
muted
#85857F