#E2D592#E2D592
#E2D592 is a very light, moderate yellow. Relative luminance 0.658; OKLCH L 86.8% C 0.087 H 98.5°. Best body text is #000000 at 14.17:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D592 |
|---|---|
| RGB | rgb(226, 213, 146) |
| HSL | hsl(50, 58%, 73%) |
| HSV | hsv(50, 35%, 89%) |
| CMYK | cmyk(0%, 5.8%, 35.4%, 11.4%) |
| CIE-LAB | lab(84.91, -5.22, 34.78) |
| CIE-LCH | lch(84.91, 35.17, 98.54°) |
| OKLab | oklab(86.81% -0.0129 0.0861) |
| OKLCH | oklch(86.81% 0.087 98.5) |
| XYZ | xyz(60.3475, 65.8342, 36.7169) |
| Luminance | 0.6583 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Beige (survey)
#E6DAA6
ΔE00 3.48
Vanilla
#F3E5AB
ΔE00 4.28
Palegoldenrod
#EEE8AA
ΔE00 4.69
Sand (survey)
#E2CA76
ΔE00 4.87
Khaki (CSS)
#F0E68C
ΔE00 5.32
Light Tan
#FBEEAC
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D592 #929FE2
analogous
#E2AD92 #E2D592 #C7E292
triadic
#E2D592 #92E2D5 #D592E2
tetradic
#E2D592 #92E2AD #929FE2 #E292C7
square
#E2D592 #92E2AD #929FE2 #E292C7
split-complementary
#E2D592 #92C7E2 #AD92E2
monochromatic
#C5AE34 #D5C262 #E2D592 #EFE8C2 #F9F6E7
Accessibility & contrast
On white
1.48
#E2D592 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.17
#E2D592 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D592
14.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D592 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D592 | 1.00 | 1.48 | 14.17 | 14.17 |
| #FFFFFF | 1.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E2D18D
Deuteranopia (green-blind)
#E5D694
Tritanopia (blue-blind)
#EECCC4
Achromatopsia (no color)
#D4D4D4
Design tokens & code
CSS
--color: #e2d592; /* rgb */ color: rgb(226, 213, 146); /* oklch */ color: oklch(86.8% 0.087 98.5);
Tailwind
colors: {
custom: {
50: '#ece1b2',
500: '#e2d592',
950: '#000000',
},
}SCSS
$custom: #e2d592; $custom-light: #ece1b2; $custom-dark: #000000;
JSON
{
"hex": "#e2d592",
"rgb": {
"r": 226,
"g": 213,
"b": 146
},
"hsl": {
"h": 50.25,
"s": 57.971,
"l": 72.941
},
"oklch": {
"l": 0.86813,
"c": 0.08705,
"h": 98.5
},
"luminance": 0.65833
}Semantic roles & 50–950 ramp
primary
#E2D592
secondary
#5D6DBB
accent
#3BC620
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#161511
muted
#858481