#DEF47C#DEF47C
#DEF47C is a very light, vivid yellow-green. Relative luminance 0.817; OKLCH L 92.6% C 0.148 H 118.0°. Best body text is #000000 at 17.34:1 contrast (WCAG AA passes).
Color values
| HEX | #DEF47C |
|---|---|
| RGB | rgb(222, 244, 124) |
| HSL | hsl(71, 85%, 72%) |
| HSV | hsv(71, 49%, 96%) |
| CMYK | cmyk(9%, 0%, 49.2%, 4.3%) |
| CIE-LAB | lab(92.44, -24.38, 54.90) |
| CIE-LCH | lch(92.44, 60.07, 113.95°) |
| OKLab | oklab(92.63% -0.0692 0.1303) |
| OKLCH | oklch(92.63% 0.148 118) |
| XYZ | xyz(66.1137, 81.6867, 31.3491) |
| Luminance | 0.8169 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pear
#CBF85F
ΔE00 4.62
Light Yellow Green
#CCFD7F
ΔE00 4.97
Yellowish Tan
#FCFC81
ΔE00 5.59
Faded Yellow
#FEFF7F
ΔE00 5.80
Pale Yellow
#FFFF84
ΔE00 5.87
Light Khaki
#E6F2A2
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DEF47C #927CF4
analogous
#F4CE7C #DEF47C #A2F47C
triadic
#DEF47C #7CDEF4 #F47CDE
tetradic
#DEF47C #7CF4CE #927CF4 #F47CA2
square
#DEF47C #7CF4CE #927CF4 #F47CA2
split-complementary
#DEF47C #7CA2F4 #CE7CF4
monochromatic
#BDE313 #D0EF44 #DEF47C #ECF9B4 #F8FDE3
Accessibility & contrast
On white
1.21
#DEF47C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.34
#DEF47C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DEF47C
17.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DEF47C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DEF47C | 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)
#FFE971
Deuteranopia (green-blind)
#FFEA83
Tritanopia (blue-blind)
#E9E9D8
Achromatopsia (no color)
#E9E9E9
Design tokens & code
CSS
--color: #def47c; /* rgb */ color: rgb(222, 244, 124); /* oklch */ color: oklch(92.6% 0.148 118.0);
Tailwind
colors: {
custom: {
50: '#eaf7a4',
500: '#def47c',
950: '#000000',
},
}SCSS
$custom: #def47c; $custom-light: #eaf7a4; $custom-dark: #000000;
JSON
{
"hex": "#def47c",
"rgb": {
"r": 222,
"g": 244,
"b": 124
},
"hsl": {
"h": 71,
"s": 84.507,
"l": 72.157
},
"oklch": {
"l": 0.92632,
"c": 0.14753,
"h": 118
},
"luminance": 0.81686
}Semantic roles & 50–950 ramp
primary
#DEF47C
secondary
#5E45CF
accent
#05E12D
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#16170F
muted
#858580