#E2D288#E2D288
#E2D288 is a very light, moderate yellow. Relative luminance 0.640; OKLCH L 86.0% C 0.095 H 97.5°. Best body text is #000000 at 13.81:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D288 |
|---|---|
| RGB | rgb(226, 210, 136) |
| HSL | hsl(49, 61%, 71%) |
| HSV | hsv(49, 40%, 89%) |
| CMYK | cmyk(0%, 7.1%, 39.8%, 11.4%) |
| CIE-LAB | lab(83.99, -4.81, 38.66) |
| CIE-LCH | lch(83.99, 38.96, 97.09°) |
| OKLab | oklab(86.03% -0.0124 0.0947) |
| OKLCH | oklch(86.03% 0.095 97.5) |
| XYZ | xyz(58.8558, 64.0414, 32.5487) |
| Luminance | 0.6404 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.26
Sandy
#F1DA7A
ΔE00 4.36
Beige (survey)
#E6DAA6
ΔE00 5.02
Khaki (CSS)
#F0E68C
ΔE00 5.20
Vanilla
#F3E5AB
ΔE00 5.53
Wheat (survey)
#FBDD7E
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D288 #8898E2
analogous
#E2A588 #E2D288 #C5E288
triadic
#E2D288 #88E2D2 #D288E2
tetradic
#E2D288 #88E2A5 #8898E2 #E288C5
square
#E2D288 #88E2A5 #8898E2 #E288C5
split-complementary
#E2D288 #88C5E2 #A588E2
monochromatic
#C1A72F #D6BF57 #E2D288 #EEE5B9 #F9F6E6
Accessibility & contrast
On white
1.52
#E2D288 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.81
#E2D288 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D288
13.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D288 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D288 | 1.00 | 1.52 | 13.81 | 13.81 |
| #FFFFFF | 1.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E0CE82
Deuteranopia (green-blind)
#E4D48B
Tritanopia (blue-blind)
#EFC8BF
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #e2d288; /* rgb */ color: rgb(226, 210, 136); /* oklch */ color: oklch(86.0% 0.095 97.5);
Tailwind
colors: {
custom: {
50: '#ecdfab',
500: '#e2d288',
950: '#000000',
},
}SCSS
$custom: #e2d288; $custom-light: #ecdfab; $custom-dark: #000000;
JSON
{
"hex": "#e2d288",
"rgb": {
"r": 226,
"g": 210,
"b": 136
},
"hsl": {
"h": 49.333,
"s": 60.811,
"l": 70.98
},
"oklch": {
"l": 0.86031,
"c": 0.09549,
"h": 97.5
},
"luminance": 0.6404
}Semantic roles & 50–950 ramp
primary
#E2D288
secondary
#5466BA
accent
#3BC91D
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#161510
muted
#858481