#DEF156#DEF156
#DEF156 is a very light, vivid yellow. Relative luminance 0.791; OKLCH L 91.6% C 0.176 H 115.9°. Best body text is #000000 at 16.82:1 contrast (WCAG AA passes).
Color values
| HEX | #DEF156 |
|---|---|
| RGB | rgb(222, 241, 86) |
| HSL | hsl(67, 85%, 64%) |
| HSV | hsv(67, 64%, 95%) |
| CMYK | cmyk(7.9%, 0%, 64.3%, 5.5%) |
| CIE-LAB | lab(91.29, -25.89, 69.90) |
| CIE-LCH | lch(91.29, 74.54, 110.32°) |
| OKLab | oklab(91.6% -0.077 0.1582) |
| OKLCH | oklch(91.6% 0.176 115.9) |
| XYZ | xyz(63.2606, 79.1130, 20.7401) |
| Luminance | 0.7911 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Yellow
#D0E429
ΔE00 3.75
Off Yellow
#F1F33F
ΔE00 4.70
Pear
#CBF85F
ΔE00 5.00
Canary
#FDFF63
ΔE00 5.04
Banana Yellow
#FAFE4B
ΔE00 5.23
Yellowy Green
#BFF128
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DEF156 #6956F1
analogous
#F1B756 #DEF156 #91F156
triadic
#DEF156 #56DEF1 #F156DE
tetradic
#DEF156 #56F1B7 #6956F1 #F15691
square
#DEF156 #56F1B7 #6956F1 #F15691
split-complementary
#DEF156 #5691F1 #B756F1
monochromatic
#A8BD10 #D3EC1D #DEF156 #E9F68F #F4FAC7
Accessibility & contrast
On white
1.25
#DEF156 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.82
#DEF156 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DEF156
16.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DEF156 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DEF156 | 1.00 | 1.25 | 16.82 | 16.82 |
| #FFFFFF | 1.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE541
Deuteranopia (green-blind)
#FFE761
Tritanopia (blue-blind)
#EBE4D1
Achromatopsia (no color)
#E6E6E6
Design tokens & code
CSS
--color: #def156; /* rgb */ color: rgb(222, 241, 86); /* oklch */ color: oklch(91.6% 0.176 115.9);
Tailwind
colors: {
custom: {
50: '#ebf58d',
500: '#def156',
950: '#000000',
},
}SCSS
$custom: #def156; $custom-light: #ebf58d; $custom-dark: #000000;
JSON
{
"hex": "#def156",
"rgb": {
"r": 222,
"g": 241,
"b": 86
},
"hsl": {
"h": 67.355,
"s": 84.699,
"l": 64.118
},
"oklch": {
"l": 0.91597,
"c": 0.17597,
"h": 115.9
},
"luminance": 0.79112
}Semantic roles & 50–950 ramp
primary
#DEF156
secondary
#4130BB
accent
#04E11F
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F