#DEF26A#DEF26A
#DEF26A is a very light, vivid yellow. Relative luminance 0.801; OKLCH L 92.0% C 0.161 H 116.7°. Best body text is #000000 at 17.01:1 contrast (WCAG AA passes).
Color values
| HEX | #DEF26A |
|---|---|
| RGB | rgb(222, 242, 106) |
| HSL | hsl(69, 84%, 68%) |
| HSV | hsv(69, 56%, 95%) |
| CMYK | cmyk(8.3%, 0%, 56.2%, 5.1%) |
| CIE-LAB | lab(91.72, -24.97, 62.13) |
| CIE-LCH | lch(91.72, 66.96, 111.89°) |
| OKLab | oklab(92% -0.0725 0.1443) |
| OKLCH | oklch(92% 0.161 116.7) |
| XYZ | xyz(64.4789, 80.0752, 25.6922) |
| Luminance | 0.8007 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pear
#CBF85F
ΔE00 4.39
Yellowish Tan
#FCFC81
ΔE00 5.22
Faded Yellow
#FEFF7F
ΔE00 5.31
Sickly Yellow
#D0E429
ΔE00 5.40
Banana (survey)
#FFFF7E
ΔE00 5.51
Butter
#FFFF81
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DEF26A #7E6AF2
analogous
#F2C26A #DEF26A #9AF26A
triadic
#DEF26A #6ADEF2 #F26ADE
tetradic
#DEF26A #6AF2C2 #7E6AF2 #F26A9A
square
#DEF26A #6AF2C2 #7E6AF2 #F26A9A
split-complementary
#DEF26A #6A9AF2 #C26AF2
monochromatic
#B4CF12 #D2ED32 #DEF26A #EAF7A2 #F7FCDB
Accessibility & contrast
On white
1.23
#DEF26A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.01
#DEF26A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DEF26A
17.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DEF26A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DEF26A | 1.00 | 1.23 | 17.01 | 17.01 |
| #FFFFFF | 1.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE75C
Deuteranopia (green-blind)
#FFE872
Tritanopia (blue-blind)
#EAE6D4
Achromatopsia (no color)
#E7E7E7
Design tokens & code
CSS
--color: #def26a; /* rgb */ color: rgb(222, 242, 106); /* oklch */ color: oklch(92.0% 0.161 116.7);
Tailwind
colors: {
custom: {
50: '#ebf699',
500: '#def26a',
950: '#000000',
},
}SCSS
$custom: #def26a; $custom-light: #ebf699; $custom-dark: #000000;
JSON
{
"hex": "#def26a",
"rgb": {
"r": 222,
"g": 242,
"b": 106
},
"hsl": {
"h": 68.824,
"s": 83.951,
"l": 68.235
},
"oklch": {
"l": 0.91998,
"c": 0.16147,
"h": 116.7
},
"luminance": 0.80074
}Semantic roles & 50–950 ramp
primary
#DEF26A
secondary
#4B36CB
accent
#05E025
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170E
muted
#85857F