#DEF38D#DEF38D
#DEF38D is a very light, vivid yellow-green. Relative luminance 0.816; OKLCH L 92.7% C 0.129 H 118.5°. Best body text is #000000 at 17.31:1 contrast (WCAG AA passes).
Color values
| HEX | #DEF38D |
|---|---|
| RGB | rgb(222, 243, 141) |
| HSL | hsl(72, 81%, 75%) |
| HSV | hsv(72, 42%, 95%) |
| CMYK | cmyk(8.6%, 0%, 42%, 4.7%) |
| CIE-LAB | lab(92.38, -22.20, 46.78) |
| CIE-LCH | lch(92.38, 51.78, 115.38°) |
| OKLab | oklab(92.65% -0.0616 0.1134) |
| OKLCH | oklch(92.65% 0.129 118.5) |
| XYZ | xyz(66.9828, 81.5542, 37.4070) |
| Luminance | 0.8155 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Light Khaki
#E6F2A2
ΔE00 3.70
Light Yellow Green
#CCFD7F
ΔE00 5.30
Pear
#CBF85F
ΔE00 6.40
Light Pea Green
#C4FE82
ΔE00 6.50
Yellowish Tan
#FCFC81
ΔE00 6.58
Pistachio (survey)
#C0FA8B
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DEF38D #A28DF3
analogous
#F3D58D #DEF38D #ABF38D
triadic
#DEF38D #8DDEF3 #F38DDE
tetradic
#DEF38D #8DF3D5 #A28DF3 #F38DAB
square
#DEF38D #8DF3D5 #A28DF3 #F38DAB
split-complementary
#DEF38D #8DABF3 #D58DF3
monochromatic
#BEE71E #CEED56 #DEF38D #EEF9C4 #F7FCE3
Accessibility & contrast
On white
1.21
#DEF38D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.31
#DEF38D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DEF38D
17.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DEF38D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DEF38D | 1.00 | 1.21 | 17.31 | 17.31 |
| #FFFFFF | 1.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE985
Deuteranopia (green-blind)
#FDEA92
Tritanopia (blue-blind)
#E7E9DA
Achromatopsia (no color)
#E9E9E9
Design tokens & code
CSS
--color: #def38d; /* rgb */ color: rgb(222, 243, 141); /* oklch */ color: oklch(92.7% 0.129 118.5);
Tailwind
colors: {
custom: {
50: '#e9f7b0',
500: '#def38d',
950: '#000000',
},
}SCSS
$custom: #def38d; $custom-light: #e9f7b0; $custom-dark: #000000;
JSON
{
"hex": "#def38d",
"rgb": {
"r": 222,
"g": 243,
"b": 141
},
"hsl": {
"h": 72.353,
"s": 80.952,
"l": 75.294
},
"oklch": {
"l": 0.92653,
"c": 0.12907,
"h": 118.5
},
"luminance": 0.81554
}Semantic roles & 50–950 ramp
primary
#DEF38D
secondary
#6E54D0
accent
#08DD34
background
#FEFFFD
surface
#FDFEF7
border
#D5D6D0
text
#161711
muted
#848581