#E2D856#E2D856
#E2D856 is a very light, vivid yellow. Relative luminance 0.660; OKLCH L 86.6% C 0.149 H 104.9°. Best body text is #000000 at 14.19:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D856 |
|---|---|
| RGB | rgb(226, 216, 86) |
| HSL | hsl(56, 71%, 61%) |
| HSV | hsv(56, 62%, 89%) |
| CMYK | cmyk(0%, 4.4%, 61.9%, 11.4%) |
| CIE-LAB | lab(84.97, -12.10, 63.32) |
| CIE-LCH | lch(84.97, 64.47, 100.82°) |
| OKLab | oklab(86.63% -0.0384 0.1442) |
| OKLCH | oklch(86.63% 0.149 104.9) |
| XYZ | xyz(57.6017, 65.9544, 18.4986) |
| Luminance | 0.6595 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.37
Piss Yellow
#DDD618
ΔE00 4.24
Yellowish
#FAEE66
ΔE00 4.97
Sand Yellow
#FCE166
ΔE00 5.20
Sandy Yellow
#FDEE73
ΔE00 5.30
Sandy
#F1DA7A
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D856 #5660E2
analogous
#E29256 #E2D856 #A6E256
triadic
#E2D856 #56E2D8 #D856E2
tetradic
#E2D856 #56E292 #5660E2 #E256A6
square
#E2D856 #56E292 #5660E2 #E256A6
split-complementary
#E2D856 #56A6E2 #9256E2
monochromatic
#A2981C #D6C925 #E2D856 #EBE48A #F4F0BE
Accessibility & contrast
On white
1.48
#E2D856 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.19
#E2D856 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D856
14.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D856 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D856 | 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)
#EAD146
Deuteranopia (green-blind)
#EDD75D
Tritanopia (blue-blind)
#F2CABD
Achromatopsia (no color)
#D4D4D4
Design tokens & code
CSS
--color: #e2d856; /* rgb */ color: rgb(226, 216, 86); /* oklch */ color: oklch(86.6% 0.149 104.9);
Tailwind
colors: {
custom: {
50: '#eee38b',
500: '#e2d856',
950: '#000000',
},
}SCSS
$custom: #e2d856; $custom-light: #eee38b; $custom-dark: #000000;
JSON
{
"hex": "#e2d856",
"rgb": {
"r": 226,
"g": 216,
"b": 86
},
"hsl": {
"h": 55.714,
"s": 70.707,
"l": 61.176
},
"oklch": {
"l": 0.86629,
"c": 0.14927,
"h": 104.9
},
"luminance": 0.65952
}Semantic roles & 50–950 ramp
primary
#E2D856
secondary
#383FA5
accent
#20D313
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F