#DEF47D#DEF47D
#DEF47D is a very light, vivid yellow-green. Relative luminance 0.817; OKLCH L 92.6% C 0.147 H 118.0°. Best body text is #000000 at 17.34:1 contrast (WCAG AA passes).
Color values
| HEX | #DEF47D |
|---|---|
| RGB | rgb(222, 244, 125) |
| HSL | hsl(71, 84%, 72%) |
| HSV | hsv(71, 49%, 96%) |
| CMYK | cmyk(9%, 0%, 48.8%, 4.3%) |
| CIE-LAB | lab(92.45, -24.29, 54.45) |
| CIE-LCH | lch(92.45, 59.62, 114.04°) |
| OKLab | oklab(92.65% -0.0688 0.1294) |
| OKLCH | oklch(92.65% 0.147 118) |
| XYZ | xyz(66.1772, 81.7121, 31.6838) |
| Luminance | 0.8171 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pear
#CBF85F
ΔE00 4.69
Light Yellow Green
#CCFD7F
ΔE00 4.94
Yellowish Tan
#FCFC81
ΔE00 5.62
Light Khaki
#E6F2A2
ΔE00 5.81
Faded Yellow
#FEFF7F
ΔE00 5.85
Pale Yellow
#FFFF84
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DEF47D #937DF4
analogous
#F4CE7D #DEF47D #A3F47D
triadic
#DEF47D #7DDEF4 #F47DDE
tetradic
#DEF47D #7DF4CE #937DF4 #F47DA3
square
#DEF47D #7DF4CE #937DF4 #F47DA3
split-complementary
#DEF47D #7DA3F4 #CE7DF4
monochromatic
#BDE313 #D0EF45 #DEF47D #ECF9B5 #F8FDE3
Accessibility & contrast
On white
1.21
#DEF47D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.34
#DEF47D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DEF47D
17.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DEF47D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DEF47D | 1.00 | 1.21 | 17.34 | 17.34 |
| #FFFFFF | 1.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE972
Deuteranopia (green-blind)
#FFEA84
Tritanopia (blue-blind)
#E9E9D9
Achromatopsia (no color)
#E9E9E9
Design tokens & code
CSS
--color: #def47d; /* rgb */ color: rgb(222, 244, 125); /* oklch */ color: oklch(92.6% 0.147 118.0);
Tailwind
colors: {
custom: {
50: '#eaf7a5',
500: '#def47d',
950: '#000000',
},
}SCSS
$custom: #def47d; $custom-light: #eaf7a5; $custom-dark: #000000;
JSON
{
"hex": "#def47d",
"rgb": {
"r": 222,
"g": 244,
"b": 125
},
"hsl": {
"h": 71.092,
"s": 84.397,
"l": 72.353
},
"oklch": {
"l": 0.92645,
"c": 0.14656,
"h": 118
},
"luminance": 0.81712
}Semantic roles & 50–950 ramp
primary
#DEF47D
secondary
#5F46CF
accent
#05E12D
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#16170F
muted
#858580