#E2D855#E2D855
#E2D855 is a very light, vivid yellow. Relative luminance 0.659; OKLCH L 86.6% C 0.150 H 104.9°. Best body text is #000000 at 14.19:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D855 |
|---|---|
| RGB | rgb(226, 216, 85) |
| HSL | hsl(56, 71%, 61%) |
| HSV | hsv(56, 62%, 89%) |
| CMYK | cmyk(0%, 4.4%, 62.4%, 11.4%) |
| CIE-LAB | lab(84.97, -12.17, 63.73) |
| CIE-LCH | lch(84.97, 64.88, 100.81°) |
| OKLab | oklab(86.62% -0.0387 0.145) |
| OKLCH | oklch(86.62% 0.15 104.9) |
| XYZ | xyz(57.5617, 65.9384, 18.2879) |
| Luminance | 0.6594 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.37
Piss Yellow
#DDD618
ΔE00 4.14
Yellowish
#FAEE66
ΔE00 4.97
Sand Yellow
#FCE166
ΔE00 5.21
Sandy Yellow
#FDEE73
ΔE00 5.32
Sandy
#F1DA7A
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D855 #555FE2
analogous
#E29155 #E2D855 #A5E255
triadic
#E2D855 #55E2D8 #D855E2
tetradic
#E2D855 #55E291 #555FE2 #E255A5
square
#E2D855 #55E291 #555FE2 #E255A5
split-complementary
#E2D855 #55A5E2 #9155E2
monochromatic
#A1981B #D5C924 #E2D855 #EBE489 #F4F0BE
Accessibility & contrast
On white
1.48
#E2D855 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.19
#E2D855 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D855
14.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D855 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D855 | 1.00 | 1.48 | 14.19 | 14.19 |
| #FFFFFF | 1.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EAD145
Deuteranopia (green-blind)
#EDD75D
Tritanopia (blue-blind)
#F2CABD
Achromatopsia (no color)
#D4D4D4
Design tokens & code
CSS
--color: #e2d855; /* rgb */ color: rgb(226, 216, 85); /* oklch */ color: oklch(86.6% 0.150 104.9);
Tailwind
colors: {
custom: {
50: '#eee38a',
500: '#e2d855',
950: '#000000',
},
}SCSS
$custom: #e2d855; $custom-light: #eee38a; $custom-dark: #000000;
JSON
{
"hex": "#e2d855",
"rgb": {
"r": 226,
"g": 216,
"b": 85
},
"hsl": {
"h": 55.745,
"s": 70.854,
"l": 60.98
},
"oklch": {
"l": 0.8662,
"c": 0.15004,
"h": 104.9
},
"luminance": 0.65936
}Semantic roles & 50–950 ramp
primary
#E2D855
secondary
#373FA4
accent
#20D313
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F