#DEF97F#DEF97F
#DEF97F is a very light, vivid yellow-green. Relative luminance 0.848; OKLCH L 93.7% C 0.151 H 119.7°. Best body text is #000000 at 17.96:1 contrast (WCAG AA passes).
Color values
| HEX | #DEF97F |
|---|---|
| RGB | rgb(222, 249, 127) |
| HSL | hsl(73, 91%, 74%) |
| HSV | hsv(73, 49%, 98%) |
| CMYK | cmyk(10.8%, 0%, 49%, 2.4%) |
| CIE-LAB | lab(93.80, -26.47, 55.15) |
| CIE-LCH | lch(93.80, 61.17, 115.64°) |
| OKLab | oklab(93.74% -0.0748 0.1311) |
| OKLCH | oklch(93.74% 0.151 119.7) |
| XYZ | xyz(67.8312, 84.8135, 32.8718) |
| Luminance | 0.8481 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Light Yellow Green
#CCFD7F
ΔE00 3.92
Pear
#CBF85F
ΔE00 4.04
Light Pea Green
#C4FE82
ΔE00 5.48
Pale Lime
#BEFD73
ΔE00 5.85
Yellowish Tan
#FCFC81
ΔE00 6.17
Faded Yellow
#FEFF7F
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DEF97F #9A7FF9
analogous
#F9D77F #DEF97F #A1F97F
triadic
#DEF97F #7FDEF9 #F97FDE
tetradic
#DEF97F #7FF9D7 #9A7FF9 #F97FA1
square
#DEF97F #7FF9D7 #9A7FF9 #F97FA1
split-complementary
#DEF97F #7FA1F9 #D77FF9
monochromatic
#BFF20B #CFF645 #DEF97F #EDFCB9 #F7FEE2
Accessibility & contrast
On white
1.17
#DEF97F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.96
#DEF97F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DEF97F
17.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DEF97F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DEF97F | 1.00 | 1.17 | 17.96 | 17.96 |
| #FFFFFF | 1.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFED74
Deuteranopia (green-blind)
#FFEE86
Tritanopia (blue-blind)
#E8EEDD
Achromatopsia (no color)
#EDEDED
Design tokens & code
CSS
--color: #def97f; /* rgb */ color: rgb(222, 249, 127); /* oklch */ color: oklch(93.7% 0.151 119.7);
Tailwind
colors: {
custom: {
50: '#eafba7',
500: '#def97f',
950: '#000000',
},
}SCSS
$custom: #def97f; $custom-light: #eafba7; $custom-dark: #000000;
JSON
{
"hex": "#def97f",
"rgb": {
"r": 222,
"g": 249,
"b": 127
},
"hsl": {
"h": 73.279,
"s": 91.045,
"l": 73.725
},
"oklch": {
"l": 0.93738,
"c": 0.15092,
"h": 119.7
},
"luminance": 0.84813
}Semantic roles & 50–950 ramp
primary
#DEF97F
secondary
#6646D6
accent
#00E633
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#161710
muted
#858580