#E2D296#E2D296
#E2D296 is a very light, moderate yellow. Relative luminance 0.645; OKLCH L 86.3% C 0.080 H 95.0°. Best body text is #000000 at 13.89:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D296 |
|---|---|
| RGB | rgb(226, 210, 150) |
| HSL | hsl(47, 57%, 74%) |
| HSV | hsv(47, 34%, 89%) |
| CMYK | cmyk(0%, 7.1%, 33.6%, 11.4%) |
| CIE-LAB | lab(84.21, -3.21, 31.79) |
| CIE-LCH | lch(84.21, 31.96, 95.77°) |
| OKLab | oklab(86.28% -0.0069 0.0792) |
| OKLCH | oklch(86.28% 0.08 95) |
| XYZ | xyz(59.9165, 64.4656, 38.1351) |
| Luminance | 0.6446 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Beige (survey)
#E6DAA6
ΔE00 2.76
Vanilla
#F3E5AB
ΔE00 4.33
Sand (survey)
#E2CA76
ΔE00 5.17
Palegoldenrod
#EEE8AA
ΔE00 5.51
Pale Peach
#FFE5AD
ΔE00 5.91
Wheat
#F5DEB3
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D296 #96A6E2
analogous
#E2AC96 #E2D296 #CCE296
triadic
#E2D296 #96E2D2 #D296E2
tetradic
#E2D296 #96E2AC #96A6E2 #E296CC
square
#E2D296 #96E2AC #96A6E2 #E296CC
split-complementary
#E2D296 #96CCE2 #AC96E2
monochromatic
#C7A837 #D5BD66 #E2D296 #EFE7C6 #F8F5E7
Accessibility & contrast
On white
1.51
#E2D296 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.89
#E2D296 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D296
13.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D296 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D296 | 1.00 | 1.51 | 13.89 | 13.89 |
| #FFFFFF | 1.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DECF92
Deuteranopia (green-blind)
#E3D498
Tritanopia (blue-blind)
#EDC9C2
Achromatopsia (no color)
#D2D2D2
Design tokens & code
CSS
--color: #e2d296; /* rgb */ color: rgb(226, 210, 150); /* oklch */ color: oklch(86.3% 0.080 95.0);
Tailwind
colors: {
custom: {
50: '#ecdfb5',
500: '#e2d296',
950: '#000000',
},
}SCSS
$custom: #e2d296; $custom-light: #ecdfb5; $custom-dark: #000000;
JSON
{
"hex": "#e2d296",
"rgb": {
"r": 226,
"g": 210,
"b": 150
},
"hsl": {
"h": 47.368,
"s": 56.716,
"l": 73.725
},
"oklch": {
"l": 0.86278,
"c": 0.07952,
"h": 95
},
"luminance": 0.64464
}Semantic roles & 50–950 ramp
primary
#E2D296
secondary
#6174BB
accent
#44C421
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#161511
muted
#858481