#E2D155#E2D155
#E2D155 is a very light, vivid yellow. Relative luminance 0.624; OKLCH L 85.2% C 0.144 H 101.5°. Best body text is #000000 at 13.49:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D155 |
|---|---|
| RGB | rgb(226, 209, 85) |
| HSL | hsl(53, 71%, 61%) |
| HSV | hsv(53, 62%, 89%) |
| CMYK | cmyk(0%, 7.5%, 62.4%, 11.4%) |
| CIE-LAB | lab(83.14, -8.65, 61.77) |
| CIE-LCH | lch(83.14, 62.38, 97.97°) |
| OKLab | oklab(85.17% -0.0287 0.1408) |
| OKLCH | oklch(85.17% 0.144 101.5) |
| XYZ | xyz(55.8064, 62.4278, 17.7028) |
| Luminance | 0.6243 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.62
Sandy
#F1DA7A
ΔE00 4.78
Sand Yellow
#FCE166
ΔE00 4.80
Light Mustard
#F7D560
ΔE00 4.95
Maize
#F4D054
ΔE00 5.10
Piss Yellow
#DDD618
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D155 #5566E2
analogous
#E28A55 #E2D155 #ACE255
triadic
#E2D155 #55E2D1 #D155E2
tetradic
#E2D155 #55E28A #5566E2 #E255AC
square
#E2D155 #55E28A #5566E2 #E255AC
split-complementary
#E2D155 #55ACE2 #8A55E2
monochromatic
#A1911B #D5C024 #E2D155 #EBDF89 #F4EDBE
Accessibility & contrast
On white
1.56
#E2D155 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.49
#E2D155 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D155
13.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D155 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D155 | 1.00 | 1.56 | 13.49 | 13.49 |
| #FFFFFF | 1.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E3CB46
Deuteranopia (green-blind)
#E8D25C
Tritanopia (blue-blind)
#F2C3B7
Achromatopsia (no color)
#CFCFCF
Design tokens & code
CSS
--color: #e2d155; /* rgb */ color: rgb(226, 209, 85); /* oklch */ color: oklch(85.2% 0.144 101.5);
Tailwind
colors: {
custom: {
50: '#eede8a',
500: '#e2d155',
950: '#000000',
},
}SCSS
$custom: #e2d155; $custom-light: #eede8a; $custom-dark: #000000;
JSON
{
"hex": "#e2d155",
"rgb": {
"r": 226,
"g": 209,
"b": 85
},
"hsl": {
"h": 52.766,
"s": 70.854,
"l": 60.98
},
"oklch": {
"l": 0.8517,
"c": 0.14371,
"h": 101.5
},
"luminance": 0.62426
}Semantic roles & 50–950 ramp
primary
#E2D155
secondary
#3744A4
accent
#2AD313
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F