#E2D491#E2D491
#E2D491 is a very light, moderate yellow. Relative luminance 0.653; OKLCH L 86.6% C 0.087 H 97.8°. Best body text is #000000 at 14.06:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D491 |
|---|---|
| RGB | rgb(226, 212, 145) |
| HSL | hsl(50, 58%, 73%) |
| HSV | hsv(50, 36%, 89%) |
| CMYK | cmyk(0%, 6.2%, 35.8%, 11.4%) |
| CIE-LAB | lab(84.64, -4.82, 34.93) |
| CIE-LCH | lch(84.64, 35.26, 97.86°) |
| OKLab | oklab(86.59% -0.0118 0.0864) |
| OKLCH | oklch(86.59% 0.087 97.8) |
| XYZ | xyz(60.0193, 65.3017, 36.2254) |
| Luminance | 0.6530 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Beige (survey)
#E6DAA6
ΔE00 3.57
Vanilla
#F3E5AB
ΔE00 4.43
Sand (survey)
#E2CA76
ΔE00 4.59
Palegoldenrod
#EEE8AA
ΔE00 4.99
Sandy
#F1DA7A
ΔE00 5.50
Khaki (CSS)
#F0E68C
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D491 #919FE2
analogous
#E2AC91 #E2D491 #C7E291
triadic
#E2D491 #91E2D4 #D491E2
tetradic
#E2D491 #91E2AC #919FE2 #E291C7
square
#E2D491 #91E2AC #919FE2 #E291C7
split-complementary
#E2D491 #91C7E2 #AC91E2
monochromatic
#C5AC34 #D5C161 #E2D491 #EFE7C1 #F9F6E7
Accessibility & contrast
On white
1.49
#E2D491 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.06
#E2D491 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D491
14.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D491 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D491 | 1.00 | 1.49 | 14.06 | 14.06 |
| #FFFFFF | 1.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E1D08C
Deuteranopia (green-blind)
#E5D693
Tritanopia (blue-blind)
#EECBC3
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #e2d491; /* rgb */ color: rgb(226, 212, 145); /* oklch */ color: oklch(86.6% 0.087 97.8);
Tailwind
colors: {
custom: {
50: '#ece1b2',
500: '#e2d491',
950: '#000000',
},
}SCSS
$custom: #e2d491; $custom-light: #ece1b2; $custom-dark: #000000;
JSON
{
"hex": "#e2d491",
"rgb": {
"r": 226,
"g": 212,
"b": 145
},
"hsl": {
"h": 49.63,
"s": 58.273,
"l": 72.745
},
"oklch": {
"l": 0.86592,
"c": 0.08722,
"h": 97.8
},
"luminance": 0.653
}Semantic roles & 50–950 ramp
primary
#E2D491
secondary
#5D6DBB
accent
#3CC620
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#161511
muted
#858481