#E2D45B#E2D45B
#E2D45B is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 85.8% C 0.142 H 102.7°. Best body text is #000000 at 13.80:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D45B |
|---|---|
| RGB | rgb(226, 212, 91) |
| HSL | hsl(54, 70%, 62%) |
| HSV | hsv(54, 60%, 89%) |
| CMYK | cmyk(0%, 6.2%, 59.7%, 11.4%) |
| CIE-LAB | lab(83.97, -9.77, 60.10) |
| CIE-LCH | lch(83.97, 60.89, 99.23°) |
| OKLab | oklab(85.85% -0.0312 0.1381) |
| OKLCH | oklch(85.85% 0.142 102.7) |
| XYZ | xyz(56.7979, 64.0132, 19.2594) |
| Luminance | 0.6401 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.38
Sandy
#F1DA7A
ΔE00 4.59
Sand Yellow
#FCE166
ΔE00 4.82
Piss Yellow
#DDD618
ΔE00 5.23
Yellow Tan
#FFE36E
ΔE00 5.42
Light Mustard
#F7D560
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D45B #5B69E2
analogous
#E2915B #E2D45B #ACE25B
triadic
#E2D45B #5BE2D4 #D45BE2
tetradic
#E2D45B #5BE291 #5B69E2 #E25BAC
square
#E2D45B #5BE291 #5B69E2 #E25BAC
split-complementary
#E2D45B #5BACE2 #915BE2
monochromatic
#A5971D #D9C627 #E2D45B #EBE28F #F4EFC3
Accessibility & contrast
On white
1.52
#E2D45B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.80
#E2D45B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D45B
13.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D45B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D45B | 1.00 | 1.52 | 13.80 | 13.80 |
| #FFFFFF | 1.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E5CE4E
Deuteranopia (green-blind)
#EAD461
Tritanopia (blue-blind)
#F2C7BA
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #e2d45b; /* rgb */ color: rgb(226, 212, 91); /* oklch */ color: oklch(85.8% 0.142 102.7);
Tailwind
colors: {
custom: {
50: '#eee08e',
500: '#e2d45b',
950: '#000000',
},
}SCSS
$custom: #e2d45b; $custom-light: #eee08e; $custom-dark: #000000;
JSON
{
"hex": "#e2d45b",
"rgb": {
"r": 226,
"g": 212,
"b": 91
},
"hsl": {
"h": 53.778,
"s": 69.948,
"l": 62.157
},
"oklch": {
"l": 0.85848,
"c": 0.14155,
"h": 102.7
},
"luminance": 0.64011
}Semantic roles & 50–950 ramp
primary
#E2D45B
secondary
#3945A8
accent
#27D214
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F