#E2D670#E2D670
#E2D670 is a very light, vivid yellow. Relative luminance 0.654; OKLCH L 86.5% C 0.125 H 102.6°. Best body text is #000000 at 14.09:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D670 |
|---|---|
| RGB | rgb(226, 214, 112) |
| HSL | hsl(54, 66%, 66%) |
| HSV | hsv(54, 50%, 89%) |
| CMYK | cmyk(0%, 5.3%, 50.4%, 11.4%) |
| CIE-LAB | lab(84.71, -9.16, 51.36) |
| CIE-LCH | lch(84.71, 52.17, 100.12°) |
| OKLab | oklab(86.5% -0.0272 0.1215) |
| OKLCH | oklch(86.5% 0.125 102.6) |
| XYZ | xyz(58.3369, 65.4337, 24.8831) |
| Luminance | 0.6543 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 3.49
Dull Yellow
#EEDC5B
ΔE00 3.95
Khaki (CSS)
#F0E68C
ΔE00 4.16
Sand (survey)
#E2CA76
ΔE00 4.97
Sand Yellow
#FCE166
ΔE00 5.52
Wheat (survey)
#FBDD7E
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D670 #707CE2
analogous
#E29D70 #E2D670 #B5E270
triadic
#E2D670 #70E2D6 #D670E2
tetradic
#E2D670 #70E29D #707CE2 #E270B5
square
#E2D670 #70E29D #707CE2 #E270B5
split-complementary
#E2D670 #70B5E2 #9D70E2
monochromatic
#B3A424 #D8C73D #E2D670 #ECE5A3 #F7F3D6
Accessibility & contrast
On white
1.49
#E2D670 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.09
#E2D670 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D670
14.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D670 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D670 | 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)
#E6D067
Deuteranopia (green-blind)
#EAD675
Tritanopia (blue-blind)
#F0CABE
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #e2d670; /* rgb */ color: rgb(226, 214, 112); /* oklch */ color: oklch(86.5% 0.125 102.6);
Tailwind
colors: {
custom: {
50: '#ede29b',
500: '#e2d670',
950: '#000000',
},
}SCSS
$custom: #e2d670; $custom-light: #ede29b; $custom-dark: #000000;
JSON
{
"hex": "#e2d670",
"rgb": {
"r": 226,
"g": 214,
"b": 112
},
"hsl": {
"h": 53.684,
"s": 66.279,
"l": 66.275
},
"oklch": {
"l": 0.86499,
"c": 0.12451,
"h": 102.6
},
"luminance": 0.65432
}Semantic roles & 50–950 ramp
primary
#E2D670
secondary
#424EB4
accent
#2BCE17
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F