#DEF07B#DEF07B
#DEF07B is a very light, vivid yellow. Relative luminance 0.793; OKLCH L 91.8% C 0.144 H 116.5°. Best body text is #000000 at 16.86:1 contrast (WCAG AA passes).
Color values
| HEX | #DEF07B |
|---|---|
| RGB | rgb(222, 240, 123) |
| HSL | hsl(69, 80%, 71%) |
| HSV | hsv(69, 49%, 94%) |
| CMYK | cmyk(7.5%, 0%, 48.7%, 5.9%) |
| CIE-LAB | lab(91.36, -22.56, 54.07) |
| CIE-LCH | lch(91.36, 58.59, 112.65°) |
| OKLab | oklab(91.77% -0.0641 0.1284) |
| OKLCH | oklch(91.77% 0.144 116.5) |
| XYZ | xyz(64.8602, 79.2805, 30.6209) |
| Luminance | 0.7928 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 5.33
Pear
#CBF85F
ΔE00 5.38
Light Khaki
#E6F2A2
ΔE00 5.62
Faded Yellow
#FEFF7F
ΔE00 5.67
Pale Yellow
#FFFF84
ΔE00 5.70
Butter
#FFFF81
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DEF07B #8D7BF0
analogous
#F0C77B #DEF07B #A3F07B
triadic
#DEF07B #7BDEF0 #F07BDE
tetradic
#DEF07B #7BF0C7 #8D7BF0 #F07BA3
square
#DEF07B #7BF0C7 #8D7BF0 #F07BA3
split-complementary
#DEF07B #7BA3F0 #C77BF0
monochromatic
#BBD819 #D0EA44 #DEF07B #ECF6B2 #F8FCE4
Accessibility & contrast
On white
1.25
#DEF07B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.86
#DEF07B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DEF07B
16.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DEF07B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DEF07B | 1.00 | 1.25 | 16.86 | 16.86 |
| #FFFFFF | 1.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FEE671
Deuteranopia (green-blind)
#FCE781
Tritanopia (blue-blind)
#E9E5D5
Achromatopsia (no color)
#E6E6E6
Design tokens & code
CSS
--color: #def07b; /* rgb */ color: rgb(222, 240, 123); /* oklch */ color: oklch(91.8% 0.144 116.5);
Tailwind
colors: {
custom: {
50: '#eaf4a4',
500: '#def07b',
950: '#000000',
},
}SCSS
$custom: #def07b; $custom-light: #eaf4a4; $custom-dark: #000000;
JSON
{
"hex": "#def07b",
"rgb": {
"r": 222,
"g": 240,
"b": 123
},
"hsl": {
"h": 69.231,
"s": 79.592,
"l": 71.176
},
"oklch": {
"l": 0.91768,
"c": 0.14354,
"h": 116.5
},
"luminance": 0.7928
}Semantic roles & 50–950 ramp
primary
#DEF07B
secondary
#5A45CA
accent
#0ADC2A
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#16170F
muted
#858580