#E2D671#E2D671
#E2D671 is a very light, vivid yellow. Relative luminance 0.655; OKLCH L 86.5% C 0.124 H 102.5°. Best body text is #000000 at 14.09:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D671 |
|---|---|
| RGB | rgb(226, 214, 113) |
| HSL | hsl(54, 66%, 66%) |
| HSV | hsv(54, 50%, 89%) |
| CMYK | cmyk(0%, 5.3%, 50%, 11.4%) |
| CIE-LAB | lab(84.72, -9.08, 50.89) |
| CIE-LCH | lch(84.72, 51.70, 100.11°) |
| OKLab | oklab(86.51% -0.0268 0.1206) |
| OKLCH | oklch(86.51% 0.124 102.5) |
| XYZ | xyz(58.3929, 65.4561, 25.1780) |
| Luminance | 0.6545 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 3.45
Dull Yellow
#EEDC5B
ΔE00 4.07
Khaki (CSS)
#F0E68C
ΔE00 4.09
Sand (survey)
#E2CA76
ΔE00 4.90
Sand Yellow
#FCE166
ΔE00 5.58
Wheat (survey)
#FBDD7E
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D671 #717DE2
analogous
#E29E71 #E2D671 #B6E271
triadic
#E2D671 #71E2D6 #D671E2
tetradic
#E2D671 #71E29E #717DE2 #E271B6
square
#E2D671 #71E29E #717DE2 #E271B6
split-complementary
#E2D671 #71B6E2 #9E71E2
monochromatic
#B4A525 #D8C73E #E2D671 #ECE5A4 #F7F3D7
Accessibility & contrast
On white
1.49
#E2D671 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.09
#E2D671 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D671
14.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D671 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D671 | 1.00 | 1.49 | 14.09 | 14.09 |
| #FFFFFF | 1.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6D068
Deuteranopia (green-blind)
#EAD676
Tritanopia (blue-blind)
#F0CABF
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #e2d671; /* rgb */ color: rgb(226, 214, 113); /* oklch */ color: oklch(86.5% 0.124 102.5);
Tailwind
colors: {
custom: {
50: '#ede29c',
500: '#e2d671',
950: '#000000',
},
}SCSS
$custom: #e2d671; $custom-light: #ede29c; $custom-dark: #000000;
JSON
{
"hex": "#e2d671",
"rgb": {
"r": 226,
"g": 214,
"b": 113
},
"hsl": {
"h": 53.628,
"s": 66.082,
"l": 66.471
},
"oklch": {
"l": 0.86512,
"c": 0.12353,
"h": 102.5
},
"luminance": 0.65454
}Semantic roles & 50–950 ramp
primary
#E2D671
secondary
#424FB5
accent
#2BCE18
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F