#E7E2AF#E7E2AF
#E7E2AF is a very light, moderate yellow. Relative luminance 0.745; OKLCH L 90.4% C 0.067 H 103.0°. Best body text is #000000 at 15.90:1 contrast (WCAG AA passes).
Color values
| HEX | #E7E2AF |
|---|---|
| RGB | rgb(231, 226, 175) |
| HSL | hsl(55, 54%, 80%) |
| HSV | hsv(55, 24%, 91%) |
| CMYK | cmyk(0%, 2.2%, 24.2%, 9.4%) |
| CIE-LAB | lab(89.15, -6.28, 25.61) |
| CIE-LCH | lch(89.15, 26.37, 103.77°) |
| OKLab | oklab(90.42% -0.0149 0.0649) |
| OKLCH | oklch(90.42% 0.067 103) |
| XYZ | xyz(67.8892, 74.4779, 51.3485) |
| Luminance | 0.7448 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Palegoldenrod
#EEE8AA
ΔE00 2.68
Beige (survey)
#E6DAA6
ΔE00 2.77
Vanilla
#F3E5AB
ΔE00 3.29
Light Tan
#FBEEAC
ΔE00 4.74
Lemonchiffon
#FFFACD
ΔE00 5.42
Egg Shell
#FFFCC4
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7E2AF #AFB4E7
analogous
#E7C6AF #E7E2AF #D0E7AF
triadic
#E7E2AF #AFE7E2 #E2AFE7
tetradic
#E7E2AF #AFE7C6 #AFB4E7 #E7AFD0
square
#E7E2AF #AFE7C6 #AFB4E7 #E7AFD0
split-complementary
#E7E2AF #AFD0E7 #C6AFE7
monochromatic
#CBC051 #D9D180 #E7E2AF #F5F3DE #F8F6E7
Accessibility & contrast
On white
1.32
#E7E2AF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.90
#E7E2AF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7E2AF
15.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7E2AF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7E2AF | 1.00 | 1.32 | 15.90 | 15.90 |
| #FFFFFF | 1.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EBDEAC
Deuteranopia (green-blind)
#EDE1B1
Tritanopia (blue-blind)
#F0DBD4
Achromatopsia (no color)
#E0E0E0
Design tokens & code
CSS
--color: #e7e2af; /* rgb */ color: rgb(231, 226, 175); /* oklch */ color: oklch(90.4% 0.067 103.0);
Tailwind
colors: {
custom: {
50: '#efebc7',
500: '#e7e2af',
950: '#000000',
},
}SCSS
$custom: #e7e2af; $custom-light: #efebc7; $custom-dark: #000000;
JSON
{
"hex": "#e7e2af",
"rgb": {
"r": 231,
"g": 226,
"b": 175
},
"hsl": {
"h": 54.643,
"s": 53.846,
"l": 79.608
},
"oklch": {
"l": 0.90424,
"c": 0.06661,
"h": 103
},
"luminance": 0.74477
}Semantic roles & 50–950 ramp
primary
#E7E2AF
secondary
#787FC2
accent
#32C124
background
#FFFEFD
surface
#FEFDF9
border
#D6D5D2
text
#161613
muted
#858482