#E2E2AA#E2E2AA
#E2E2AA is a very light, moderate yellow. Relative luminance 0.735; OKLCH L 89.9% C 0.073 H 107.8°. Best body text is #000000 at 15.69:1 contrast (WCAG AA passes).
Color values
| HEX | #E2E2AA |
|---|---|
| RGB | rgb(226, 226, 170) |
| HSL | hsl(60, 49%, 78%) |
| HSV | hsv(60, 25%, 89%) |
| CMYK | cmyk(0%, 0%, 24.8%, 11.4%) |
| CIE-LAB | lab(88.67, -8.81, 27.48) |
| CIE-LCH | lch(88.67, 28.85, 107.77°) |
| OKLab | oklab(89.92% -0.0222 0.0694) |
| OKLCH | oklch(89.92% 0.073 107.8) |
| XYZ | xyz(65.8160, 73.4646, 48.7353) |
| Luminance | 0.7346 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Palegoldenrod
#EEE8AA
ΔE00 2.67
Beige (survey)
#E6DAA6
ΔE00 4.15
Vanilla
#F3E5AB
ΔE00 4.51
Light Tan
#FBEEAC
ΔE00 5.29
Egg Shell
#FFFCC4
ΔE00 5.72
Light Khaki
#E6F2A2
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2E2AA #AAAAE2
analogous
#E2C6AA #E2E2AA #C6E2AA
triadic
#E2E2AA #AAE2E2 #E2AAE2
tetradic
#E2E2AA #AAE2C6 #AAAAE2 #E2AAC6
square
#E2E2AA #AAE2C6 #AAAAE2 #E2AAC6
split-complementary
#E2E2AA #AAC6E2 #C6AAE2
monochromatic
#C3C34F #D2D27C #E2E2AA #F2F2D8 #F7F7E8
Accessibility & contrast
On white
1.34
#E2E2AA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.69
#E2E2AA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2E2AA
15.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2E2AA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2E2AA | 1.00 | 1.34 | 15.69 | 15.69 |
| #FFFFFF | 1.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EBDDA6
Deuteranopia (green-blind)
#ECE0AC
Tritanopia (blue-blind)
#EADBD3
Achromatopsia (no color)
#DFDFDF
Design tokens & code
CSS
--color: #e2e2aa; /* rgb */ color: rgb(226, 226, 170); /* oklch */ color: oklch(89.9% 0.073 107.8);
Tailwind
colors: {
custom: {
50: '#ebebc3',
500: '#e2e2aa',
950: '#000000',
},
}SCSS
$custom: #e2e2aa; $custom-light: #ebebc3; $custom-dark: #000000;
JSON
{
"hex": "#e2e2aa",
"rgb": {
"r": 226,
"g": 226,
"b": 170
},
"hsl": {
"h": 60,
"s": 49.123,
"l": 77.647
},
"oklch": {
"l": 0.8992,
"c": 0.07283,
"h": 107.8
},
"luminance": 0.73464
}Semantic roles & 50–950 ramp
primary
#E2E2AA
secondary
#7575BB
accent
#29BC29
background
#FEFEFD
surface
#FDFDF9
border
#D5D5D2
text
#161612
muted
#848482