#E5E156#E5E156
#E5E156 is a very light, vivid yellow. Relative luminance 0.712; OKLCH L 88.8% C 0.158 H 107.6°. Best body text is #000000 at 15.24:1 contrast (WCAG AA passes).
Color values
| HEX | #E5E156 |
|---|---|
| RGB | rgb(229, 225, 86) |
| HSL | hsl(58, 73%, 62%) |
| HSV | hsv(58, 62%, 90%) |
| CMYK | cmyk(0%, 1.7%, 62.4%, 10.2%) |
| CIE-LAB | lab(87.57, -15.34, 66.16) |
| CIE-LCH | lch(87.57, 67.92, 103.05°) |
| OKLab | oklab(88.76% -0.0477 0.1502) |
| OKLCH | oklch(88.76% 0.158 107.6) |
| XYZ | xyz(60.9201, 71.1822, 19.3328) |
| Luminance | 0.7118 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 3.58
Yellowish
#FAEE66
ΔE00 3.68
Piss Yellow
#DDD618
ΔE00 4.41
Sandy Yellow
#FDEE73
ΔE00 4.53
Off Yellow
#F1F33F
ΔE00 4.89
Straw
#FCF679
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E5E156 #565AE5
analogous
#E59A56 #E5E156 #A1E556
triadic
#E5E156 #56E5E1 #E156E5
tetradic
#E5E156 #56E59A #565AE5 #E556A1
square
#E5E156 #56E59A #565AE5 #E556A1
split-complementary
#E5E156 #56A1E5 #9A56E5
monochromatic
#A7A31A #DCD722 #E5E156 #EDEA8B #F5F4C0
Accessibility & contrast
On white
1.38
#E5E156 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.24
#E5E156 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E5E156
15.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E5E156 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E5E156 | 1.00 | 1.38 | 15.24 | 15.24 |
| #FFFFFF | 1.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F3D944
Deuteranopia (green-blind)
#F5DE5F
Tritanopia (blue-blind)
#F5D3C4
Achromatopsia (no color)
#DBDBDB
Design tokens & code
CSS
--color: #e5e156; /* rgb */ color: rgb(229, 225, 86); /* oklch */ color: oklch(88.8% 0.158 107.6);
Tailwind
colors: {
custom: {
50: '#f0ea8c',
500: '#e5e156',
950: '#000000',
},
}SCSS
$custom: #e5e156; $custom-light: #f0ea8c; $custom-dark: #000000;
JSON
{
"hex": "#e5e156",
"rgb": {
"r": 229,
"g": 225,
"b": 86
},
"hsl": {
"h": 58.322,
"s": 73.333,
"l": 61.765
},
"oklch": {
"l": 0.88759,
"c": 0.15759,
"h": 107.6
},
"luminance": 0.7118
}Semantic roles & 50–950 ramp
primary
#E5E156
secondary
#363AA9
accent
#16D510
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160C
muted
#85847F