#DEF07A#DEF07A
#DEF07A is a very light, vivid yellow. Relative luminance 0.793; OKLCH L 91.8% C 0.145 H 116.5°. Best body text is #000000 at 16.85:1 contrast (WCAG AA passes).
Color values
| HEX | #DEF07A |
|---|---|
| RGB | rgb(222, 240, 122) |
| HSL | hsl(69, 80%, 71%) |
| HSV | hsv(69, 49%, 94%) |
| CMYK | cmyk(7.5%, 0%, 49.2%, 5.9%) |
| CIE-LAB | lab(91.35, -22.66, 54.52) |
| CIE-LCH | lch(91.35, 59.04, 112.56°) |
| OKLab | oklab(91.76% -0.0645 0.1293) |
| OKLCH | oklch(91.76% 0.145 116.5) |
| XYZ | xyz(64.7980, 79.2556, 30.2929) |
| Luminance | 0.7925 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 5.29
Pear
#CBF85F
ΔE00 5.32
Faded Yellow
#FEFF7F
ΔE00 5.62
Pale Yellow
#FFFF84
ΔE00 5.66
Light Khaki
#E6F2A2
ΔE00 5.75
Butter
#FFFF81
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DEF07A #8C7AF0
analogous
#F0C77A #DEF07A #A3F07A
triadic
#DEF07A #7ADEF0 #F07ADE
tetradic
#DEF07A #7AF0C7 #8C7AF0 #F07AA3
square
#DEF07A #7AF0C7 #8C7AF0 #F07AA3
split-complementary
#DEF07A #7AA3F0 #C77AF0
monochromatic
#BAD718 #D0EA43 #DEF07A #ECF6B1 #F8FCE4
Accessibility & contrast
On white
1.25
#DEF07A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.85
#DEF07A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DEF07A
16.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DEF07A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DEF07A | 1.00 | 1.25 | 16.85 | 16.85 |
| #FFFFFF | 1.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FEE66F
Deuteranopia (green-blind)
#FCE780
Tritanopia (blue-blind)
#E9E5D5
Achromatopsia (no color)
#E6E6E6
Design tokens & code
CSS
--color: #def07a; /* rgb */ color: rgb(222, 240, 122); /* oklch */ color: oklch(91.8% 0.145 116.5);
Tailwind
colors: {
custom: {
50: '#eaf4a3',
500: '#def07a',
950: '#000000',
},
}SCSS
$custom: #def07a; $custom-light: #eaf4a3; $custom-dark: #000000;
JSON
{
"hex": "#def07a",
"rgb": {
"r": 222,
"g": 240,
"b": 122
},
"hsl": {
"h": 69.153,
"s": 79.73,
"l": 70.98
},
"oklch": {
"l": 0.91755,
"c": 0.14451,
"h": 116.5
},
"luminance": 0.79255
}Semantic roles & 50–950 ramp
primary
#DEF07A
secondary
#5944CA
accent
#09DC2A
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#16170F
muted
#858580