#E2D587#E2D587
#E2D587 is a very light, moderate yellow. Relative luminance 0.655; OKLCH L 86.6% C 0.100 H 100.0°. Best body text is #000000 at 14.10:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D587 |
|---|---|
| RGB | rgb(226, 213, 135) |
| HSL | hsl(51, 61%, 71%) |
| HSV | hsv(51, 40%, 89%) |
| CMYK | cmyk(0%, 5.8%, 40.3%, 11.4%) |
| CIE-LAB | lab(84.75, -6.44, 40.14) |
| CIE-LCH | lch(84.75, 40.65, 99.12°) |
| OKLab | oklab(86.63% -0.0172 0.098) |
| OKLCH | oklch(86.63% 0.1 100) |
| XYZ | xyz(59.5326, 65.5083, 32.4253) |
| Luminance | 0.6551 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.98
Sandy
#F1DA7A
ΔE00 4.11
Khaki (CSS)
#F0E68C
ΔE00 4.15
Beige (survey)
#E6DAA6
ΔE00 5.44
Palegoldenrod
#EEE8AA
ΔE00 5.62
Vanilla
#F3E5AB
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D587 #8794E2
analogous
#E2A787 #E2D587 #C1E287
triadic
#E2D587 #87E2D5 #D587E2
tetradic
#E2D587 #87E2A7 #8794E2 #E287C1
square
#E2D587 #87E2A7 #8794E2 #E287C1
split-complementary
#E2D587 #87C1E2 #A787E2
monochromatic
#C0AB2E #D6C456 #E2D587 #EEE6B8 #F9F6E6
Accessibility & contrast
On white
1.49
#E2D587 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.10
#E2D587 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D587
14.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D587 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D587 | 1.00 | 1.49 | 14.10 | 14.10 |
| #FFFFFF | 1.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E3D181
Deuteranopia (green-blind)
#E7D68A
Tritanopia (blue-blind)
#EFCBC2
Achromatopsia (no color)
#D4D4D4
Design tokens & code
CSS
--color: #e2d587; /* rgb */ color: rgb(226, 213, 135); /* oklch */ color: oklch(86.6% 0.100 100.0);
Tailwind
colors: {
custom: {
50: '#ece1ab',
500: '#e2d587',
950: '#000000',
},
}SCSS
$custom: #e2d587; $custom-light: #ece1ab; $custom-dark: #000000;
JSON
{
"hex": "#e2d587",
"rgb": {
"r": 226,
"g": 213,
"b": 135
},
"hsl": {
"h": 51.429,
"s": 61.074,
"l": 70.784
},
"oklch": {
"l": 0.86626,
"c": 0.09951,
"h": 100
},
"luminance": 0.65507
}Semantic roles & 50–950 ramp
primary
#E2D587
secondary
#5362BA
accent
#35C91D
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#161510
muted
#858481