#E2D257#E2D257
#E2D257 is a very light, vivid yellow. Relative luminance 0.629; OKLCH L 85.4% C 0.143 H 101.9°. Best body text is #000000 at 13.59:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D257 |
|---|---|
| RGB | rgb(226, 210, 87) |
| HSL | hsl(53, 71%, 61%) |
| HSV | hsv(53, 62%, 89%) |
| CMYK | cmyk(0%, 7.1%, 61.5%, 11.4%) |
| CIE-LAB | lab(83.42, -9.02, 61.22) |
| CIE-LCH | lch(83.42, 61.88, 98.39°) |
| OKLab | oklab(85.4% -0.0295 0.1399) |
| OKLCH | oklch(85.4% 0.143 101.9) |
| XYZ | xyz(56.1331, 62.9523, 18.2092) |
| Luminance | 0.6295 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.49
Sandy
#F1DA7A
ΔE00 4.69
Sand Yellow
#FCE166
ΔE00 4.78
Light Mustard
#F7D560
ΔE00 5.11
Piss Yellow
#DDD618
ΔE00 5.15
Light Gold
#FDDC5C
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D257 #5767E2
analogous
#E28D57 #E2D257 #ACE257
triadic
#E2D257 #57E2D2 #D257E2
tetradic
#E2D257 #57E28D #5767E2 #E257AC
square
#E2D257 #57E28D #5767E2 #E257AC
split-complementary
#E2D257 #57ACE2 #8D57E2
monochromatic
#A3931C #D7C225 #E2D257 #EBE08B #F4EEBF
Accessibility & contrast
On white
1.55
#E2D257 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.59
#E2D257 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D257
13.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D257 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D257 | 1.00 | 1.55 | 13.59 | 13.59 |
| #FFFFFF | 1.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E4CC49
Deuteranopia (green-blind)
#E9D35E
Tritanopia (blue-blind)
#F2C4B8
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #e2d257; /* rgb */ color: rgb(226, 210, 87); /* oklch */ color: oklch(85.4% 0.143 101.9);
Tailwind
colors: {
custom: {
50: '#eedf8b',
500: '#e2d257',
950: '#000000',
},
}SCSS
$custom: #e2d257; $custom-light: #eedf8b; $custom-dark: #000000;
JSON
{
"hex": "#e2d257",
"rgb": {
"r": 226,
"g": 210,
"b": 87
},
"hsl": {
"h": 53.094,
"s": 70.558,
"l": 61.373
},
"oklch": {
"l": 0.85395,
"c": 0.143,
"h": 101.9
},
"luminance": 0.6295
}Semantic roles & 50–950 ramp
primary
#E2D257
secondary
#3845A5
accent
#29D313
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F