#E2D779#E2D779
#E2D779 is a very light, moderate yellow. Relative luminance 0.661; OKLCH L 86.8% C 0.116 H 102.6°. Best body text is #000000 at 14.23:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D779 |
|---|---|
| RGB | rgb(226, 215, 121) |
| HSL | hsl(54, 64%, 68%) |
| HSV | hsv(54, 46%, 89%) |
| CMYK | cmyk(0%, 4.9%, 46.5%, 11.4%) |
| CIE-LAB | lab(85.07, -8.86, 47.48) |
| CIE-LCH | lch(85.07, 48.30, 100.57°) |
| OKLab | oklab(86.83% -0.0254 0.1137) |
| OKLCH | oklch(86.83% 0.116 102.6) |
| XYZ | xyz(59.1171, 66.1519, 27.7400) |
| Luminance | 0.6615 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 3.48
Sandy
#F1DA7A
ΔE00 3.52
Sand (survey)
#E2CA76
ΔE00 4.79
Dull Yellow
#EEDC5B
ΔE00 5.00
Wheat (survey)
#FBDD7E
ΔE00 5.69
Greenish Beige
#C9D179
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D779 #7984E2
analogous
#E2A279 #E2D779 #B8E279
triadic
#E2D779 #79E2D7 #D779E2
tetradic
#E2D779 #79E2A2 #7984E2 #E279B8
square
#E2D779 #79E2A2 #7984E2 #E279B8
split-complementary
#E2D779 #79B8E2 #A279E2
monochromatic
#B9A928 #D7C847 #E2D779 #EDE6AB #F8F5DE
Accessibility & contrast
On white
1.48
#E2D779 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.23
#E2D779 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D779
14.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D779 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D779 | 1.00 | 1.48 | 14.23 | 14.23 |
| #FFFFFF | 1.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6D171
Deuteranopia (green-blind)
#EAD77D
Tritanopia (blue-blind)
#F0CCC1
Achromatopsia (no color)
#D4D4D4
Design tokens & code
CSS
--color: #e2d779; /* rgb */ color: rgb(226, 215, 121); /* oklch */ color: oklch(86.8% 0.116 102.6);
Tailwind
colors: {
custom: {
50: '#ede3a1',
500: '#e2d779',
950: '#000000',
},
}SCSS
$custom: #e2d779; $custom-light: #ede3a1; $custom-dark: #000000;
JSON
{
"hex": "#e2d779",
"rgb": {
"r": 226,
"g": 215,
"b": 121
},
"hsl": {
"h": 53.714,
"s": 64.417,
"l": 68.039
},
"oklch": {
"l": 0.86826,
"c": 0.11649,
"h": 102.6
},
"luminance": 0.6615
}Semantic roles & 50–950 ramp
primary
#E2D779
secondary
#4652B9
accent
#2CCC19
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150F
muted
#858480