#E2D181#E2D181
#E2D181 is a very light, moderate yellow. Relative luminance 0.634; OKLCH L 85.7% C 0.102 H 97.7°. Best body text is #000000 at 13.67:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D181 |
|---|---|
| RGB | rgb(226, 209, 129) |
| HSL | hsl(49, 63%, 70%) |
| HSV | hsv(49, 43%, 89%) |
| CMYK | cmyk(0%, 7.5%, 42.9%, 11.4%) |
| CIE-LAB | lab(83.63, -5.03, 41.73) |
| CIE-LCH | lch(83.63, 42.03, 96.87°) |
| OKLab | oklab(85.72% -0.0136 0.1013) |
| OKLCH | oklch(85.72% 0.102 97.7) |
| XYZ | xyz(58.1283, 63.3566, 29.9317) |
| Luminance | 0.6335 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 2.54
Sandy
#F1DA7A
ΔE00 3.61
Khaki (CSS)
#F0E68C
ΔE00 5.08
Wheat (survey)
#FBDD7E
ΔE00 5.15
Beige (survey)
#E6DAA6
ΔE00 6.11
Vanilla
#F3E5AB
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D181 #8192E2
analogous
#E2A181 #E2D181 #C2E281
triadic
#E2D181 #81E2D1 #D181E2
tetradic
#E2D181 #81E2A1 #8192E2 #E281C2
square
#E2D181 #81E2A1 #8192E2 #E281C2
split-complementary
#E2D181 #81C2E2 #A181E2
monochromatic
#BDA42C #D7BF4F #E2D181 #EDE3B3 #F9F5E4
Accessibility & contrast
On white
1.54
#E2D181 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.67
#E2D181 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D181
13.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D181 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D181 | 1.00 | 1.54 | 13.67 | 13.67 |
| #FFFFFF | 1.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E0CD7B
Deuteranopia (green-blind)
#E4D384
Tritanopia (blue-blind)
#EFC6BD
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #e2d181; /* rgb */ color: rgb(226, 209, 129); /* oklch */ color: oklch(85.7% 0.102 97.7);
Tailwind
colors: {
custom: {
50: '#eddea7',
500: '#e2d181',
950: '#000000',
},
}SCSS
$custom: #e2d181; $custom-light: #eddea7; $custom-dark: #000000;
JSON
{
"hex": "#e2d181",
"rgb": {
"r": 226,
"g": 209,
"b": 129
},
"hsl": {
"h": 49.485,
"s": 62.581,
"l": 69.608
},
"oklch": {
"l": 0.85716,
"c": 0.10223,
"h": 97.7
},
"luminance": 0.63355
}Semantic roles & 50–950 ramp
primary
#E2D181
secondary
#4E60BA
accent
#3ACA1B
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480