#E2D456#E2D456
#E2D456 is a very light, vivid yellow. Relative luminance 0.639; OKLCH L 85.8% C 0.146 H 103.0°. Best body text is #000000 at 13.79:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D456 |
|---|---|
| RGB | rgb(226, 212, 86) |
| HSL | hsl(54, 71%, 61%) |
| HSV | hsv(54, 62%, 89%) |
| CMYK | cmyk(0%, 6.2%, 61.9%, 11.4%) |
| CIE-LAB | lab(83.93, -10.10, 62.20) |
| CIE-LCH | lch(83.93, 63.01, 99.22°) |
| OKLab | oklab(85.8% -0.0327 0.1419) |
| OKLCH | oklch(85.8% 0.146 103) |
| XYZ | xyz(56.5894, 63.9298, 18.1611) |
| Luminance | 0.6393 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.25
Piss Yellow
#DDD618
ΔE00 4.69
Sand Yellow
#FCE166
ΔE00 4.84
Sandy
#F1DA7A
ΔE00 5.01
Yellow Tan
#FFE36E
ΔE00 5.52
Light Gold
#FDDC5C
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D456 #5664E2
analogous
#E28E56 #E2D456 #AAE256
triadic
#E2D456 #56E2D4 #D456E2
tetradic
#E2D456 #56E28E #5664E2 #E256AA
square
#E2D456 #56E28E #5664E2 #E256AA
split-complementary
#E2D456 #56AAE2 #8E56E2
monochromatic
#A2941C #D6C425 #E2D456 #EBE18A #F4EFBE
Accessibility & contrast
On white
1.52
#E2D456 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.79
#E2D456 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D456
13.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D456 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D456 | 1.00 | 1.52 | 13.79 | 13.79 |
| #FFFFFF | 1.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6CE47
Deuteranopia (green-blind)
#EAD45D
Tritanopia (blue-blind)
#F2C6B9
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #e2d456; /* rgb */ color: rgb(226, 212, 86); /* oklch */ color: oklch(85.8% 0.146 103.0);
Tailwind
colors: {
custom: {
50: '#eee08b',
500: '#e2d456',
950: '#000000',
},
}SCSS
$custom: #e2d456; $custom-light: #eee08b; $custom-dark: #000000;
JSON
{
"hex": "#e2d456",
"rgb": {
"r": 226,
"g": 212,
"b": 86
},
"hsl": {
"h": 54,
"s": 70.707,
"l": 61.176
},
"oklch": {
"l": 0.85799,
"c": 0.14558,
"h": 103
},
"luminance": 0.63928
}Semantic roles & 50–950 ramp
primary
#E2D456
secondary
#3843A5
accent
#26D313
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F