#DEF08D#DEF08D
#DEF08D is a very light, vivid yellow-green. Relative luminance 0.798; OKLCH L 92.0% C 0.125 H 117.4°. Best body text is #000000 at 16.95:1 contrast (WCAG AA passes).
Color values
| HEX | #DEF08D |
|---|---|
| RGB | rgb(222, 240, 141) |
| HSL | hsl(71, 77%, 75%) |
| HSV | hsv(71, 41%, 94%) |
| CMYK | cmyk(7.5%, 0%, 41.3%, 5.9%) |
| CIE-LAB | lab(91.58, -20.75, 45.78) |
| CIE-LCH | lch(91.58, 50.27, 114.38°) |
| OKLab | oklab(92.02% -0.0575 0.1112) |
| OKLCH | oklch(92.02% 0.125 117.4) |
| XYZ | xyz(66.0924, 79.7734, 37.1101) |
| Luminance | 0.7977 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Light Khaki
#E6F2A2
ΔE00 3.26
Light Yellow Green
#CCFD7F
ΔE00 6.06
Yellowish Tan
#FCFC81
ΔE00 6.53
Parchment
#FEFCAF
ΔE00 6.63
Pale Yellow
#FFFF84
ΔE00 6.81
Buff
#FEF69E
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DEF08D #9F8DF0
analogous
#F0D18D #DEF08D #ADF08D
triadic
#DEF08D #8DDEF0 #F08DDE
tetradic
#DEF08D #8DF0D1 #9F8DF0 #F08DAD
square
#DEF08D #8DF0D1 #9F8DF0 #F08DAD
split-complementary
#DEF08D #8DADF0 #D18DF0
monochromatic
#BFE221 #CEE957 #DEF08D #EEF7C3 #F7FBE4
Accessibility & contrast
On white
1.24
#DEF08D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.95
#DEF08D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DEF08D
16.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DEF08D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DEF08D | 1.00 | 1.24 | 16.95 | 16.95 |
| #FFFFFF | 1.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FCE785
Deuteranopia (green-blind)
#FAE892
Tritanopia (blue-blind)
#E7E6D8
Achromatopsia (no color)
#E7E7E7
Design tokens & code
CSS
--color: #def08d; /* rgb */ color: rgb(222, 240, 141); /* oklch */ color: oklch(92.0% 0.125 117.4);
Tailwind
colors: {
custom: {
50: '#e9f5b0',
500: '#def08d',
950: '#000000',
},
}SCSS
$custom: #def08d; $custom-light: #e9f5b0; $custom-dark: #000000;
JSON
{
"hex": "#def08d",
"rgb": {
"r": 222,
"g": 240,
"b": 141
},
"hsl": {
"h": 70.909,
"s": 76.744,
"l": 74.706
},
"oklch": {
"l": 0.92018,
"c": 0.12516,
"h": 117.4
},
"luminance": 0.79773
}Semantic roles & 50–950 ramp
primary
#DEF08D
secondary
#6B55CC
accent
#0DD932
background
#FEFFFD
surface
#FDFEF7
border
#D5D6D0
text
#161710
muted
#848581