#E2E059#E2E059
#E2E059 is a very light, vivid yellow. Relative luminance 0.702; OKLCH L 88.3% C 0.155 H 108.4°. Best body text is #000000 at 15.04:1 contrast (WCAG AA passes).
Color values
| HEX | #E2E059 |
|---|---|
| RGB | rgb(226, 224, 89) |
| HSL | hsl(59, 70%, 62%) |
| HSV | hsv(59, 61%, 89%) |
| CMYK | cmyk(0%, 0.9%, 60.6%, 11.4%) |
| CIE-LAB | lab(87.10, -15.88, 64.35) |
| CIE-LCH | lch(87.10, 66.28, 103.86°) |
| OKLab | oklab(88.33% -0.0488 0.1468) |
| OKLCH | oklch(88.33% 0.155 108.4) |
| XYZ | xyz(59.8247, 70.2031, 19.8484) |
| Luminance | 0.7020 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 3.98
Yellowish
#FAEE66
ΔE00 4.19
Piss Yellow
#DDD618
ΔE00 4.77
Sandy Yellow
#FDEE73
ΔE00 4.92
Straw
#FCF679
ΔE00 5.17
Off Yellow
#F1F33F
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2E059 #595BE2
analogous
#E29C59 #E2E059 #A0E259
triadic
#E2E059 #59E2E0 #E059E2
tetradic
#E2E059 #59E29C #595BE2 #E259A0
square
#E2E059 #59E29C #595BE2 #E259A0
split-complementary
#E2E059 #59A0E2 #9C59E2
monochromatic
#A4A21D #D8D526 #E2E059 #EBEA8D #F4F3C1
Accessibility & contrast
On white
1.40
#E2E059 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.04
#E2E059 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2E059
15.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2E059 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2E059 | 1.00 | 1.40 | 15.04 | 15.04 |
| #FFFFFF | 1.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F1D749
Deuteranopia (green-blind)
#F3DC61
Tritanopia (blue-blind)
#F1D3C4
Achromatopsia (no color)
#DADADA
Design tokens & code
CSS
--color: #e2e059; /* rgb */ color: rgb(226, 224, 89); /* oklch */ color: oklch(88.3% 0.155 108.4);
Tailwind
colors: {
custom: {
50: '#eee98d',
500: '#e2e059',
950: '#000000',
},
}SCSS
$custom: #e2e059; $custom-light: #eee98d; $custom-dark: #000000;
JSON
{
"hex": "#e2e059",
"rgb": {
"r": 226,
"g": 224,
"b": 89
},
"hsl": {
"h": 59.124,
"s": 70.256,
"l": 61.765
},
"oklch": {
"l": 0.88328,
"c": 0.15474,
"h": 108.4
},
"luminance": 0.70201
}Semantic roles & 50–950 ramp
primary
#E2E059
secondary
#393AA6
accent
#16D213
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160D
muted
#85847F