#E2D87F#E2D87F
#E2D87F is a very light, moderate yellow. Relative luminance 0.668; OKLCH L 87.1% C 0.111 H 102.8°. Best body text is #000000 at 14.36:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D87F |
|---|---|
| RGB | rgb(226, 216, 127) |
| HSL | hsl(54, 63%, 69%) |
| HSV | hsv(54, 44%, 89%) |
| CMYK | cmyk(0%, 4.4%, 43.8%, 11.4%) |
| CIE-LAB | lab(85.41, -8.79, 44.96) |
| CIE-LCH | lch(85.41, 45.81, 101.06°) |
| OKLab | oklab(87.12% -0.0246 0.1085) |
| OKLCH | oklch(87.12% 0.111 102.8) |
| XYZ | xyz(59.7520, 66.8145, 29.8235) |
| Luminance | 0.6681 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 3.15
Sandy
#F1DA7A
ΔE00 3.84
Sand (survey)
#E2CA76
ΔE00 4.94
Greenish Beige
#C9D179
ΔE00 5.41
Dull Yellow
#EEDC5B
ΔE00 5.76
Wheat (survey)
#FBDD7E
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D87F #7F89E2
analogous
#E2A77F #E2D87F #BBE27F
triadic
#E2D87F #7FE2D8 #D87FE2
tetradic
#E2D87F #7FE2A7 #7F89E2 #E27FBB
square
#E2D87F #7FE2A7 #7F89E2 #E27FBB
split-complementary
#E2D87F #7FBBE2 #A77FE2
monochromatic
#BCAD2B #D7C94D #E2D87F #EDE7B1 #F9F6E3
Accessibility & contrast
On white
1.46
#E2D87F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.36
#E2D87F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D87F
14.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D87F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D87F | 1.00 | 1.46 | 14.36 | 14.36 |
| #FFFFFF | 1.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6D378
Deuteranopia (green-blind)
#EAD883
Tritanopia (blue-blind)
#EFCDC3
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #e2d87f; /* rgb */ color: rgb(226, 216, 127); /* oklch */ color: oklch(87.1% 0.111 102.8);
Tailwind
colors: {
custom: {
50: '#ede3a5',
500: '#e2d87f',
950: '#000000',
},
}SCSS
$custom: #e2d87f; $custom-light: #ede3a5; $custom-dark: #000000;
JSON
{
"hex": "#e2d87f",
"rgb": {
"r": 226,
"g": 216,
"b": 127
},
"hsl": {
"h": 53.939,
"s": 63.057,
"l": 69.216
},
"oklch": {
"l": 0.87117,
"c": 0.11124,
"h": 102.8
},
"luminance": 0.66813
}Semantic roles & 50–950 ramp
primary
#E2D87F
secondary
#4C57BA
accent
#2CCB1B
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480