#E2E259#E2E259
#E2E259 is a very light, vivid yellow. Relative luminance 0.713; OKLCH L 88.7% C 0.157 H 109.2°. Best body text is #000000 at 15.26:1 contrast (WCAG AA passes).
Color values
| HEX | #E2E259 |
|---|---|
| RGB | rgb(226, 226, 89) |
| HSL | hsl(60, 70%, 62%) |
| HSV | hsv(60, 61%, 89%) |
| CMYK | cmyk(0%, 0%, 60.6%, 11.4%) |
| CIE-LAB | lab(87.62, -16.86, 64.92) |
| CIE-LCH | lch(87.62, 67.07, 104.56°) |
| OKLab | oklab(88.75% -0.0516 0.148) |
| OKLCH | oklch(88.75% 0.157 109.2) |
| XYZ | xyz(60.3654, 71.2844, 20.0287) |
| Luminance | 0.7128 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish
#FAEE66
ΔE00 4.19
Dull Yellow
#EEDC5B
ΔE00 4.49
Off Yellow
#F1F33F
ΔE00 4.95
Sickly Yellow
#D0E429
ΔE00 4.95
Straw
#FCF679
ΔE00 4.96
Sandy Yellow
#FDEE73
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2E259 #5959E2
analogous
#E29E59 #E2E259 #9EE259
triadic
#E2E259 #59E2E2 #E259E2
tetradic
#E2E259 #59E29E #5959E2 #E2599E
square
#E2E259 #59E29E #5959E2 #E2599E
split-complementary
#E2E259 #599EE2 #9E59E2
monochromatic
#A4A41D #D8D826 #E2E259 #EBEB8D #F4F4C1
Accessibility & contrast
On white
1.38
#E2E259 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.26
#E2E259 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2E259
15.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2E259 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2E259 | 1.00 | 1.38 | 15.26 | 15.26 |
| #FFFFFF | 1.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F3D948
Deuteranopia (green-blind)
#F5DE61
Tritanopia (blue-blind)
#F1D5C5
Achromatopsia (no color)
#DCDCDC
Design tokens & code
CSS
--color: #e2e259; /* rgb */ color: rgb(226, 226, 89); /* oklch */ color: oklch(88.7% 0.157 109.2);
Tailwind
colors: {
custom: {
50: '#eeea8e',
500: '#e2e259',
950: '#000000',
},
}SCSS
$custom: #e2e259; $custom-light: #eeea8e; $custom-dark: #000000;
JSON
{
"hex": "#e2e259",
"rgb": {
"r": 226,
"g": 226,
"b": 89
},
"hsl": {
"h": 60,
"s": 70.256,
"l": 61.765
},
"oklch": {
"l": 0.88748,
"c": 0.15676,
"h": 109.2
},
"luminance": 0.71283
}Semantic roles & 50–950 ramp
primary
#E2E259
secondary
#3939A6
accent
#13D213
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#17160D
muted
#85847F