#E7D45E#E7D45E
#E7D45E is a very light, vivid yellow. Relative luminance 0.649; OKLCH L 86.3% C 0.139 H 100.2°. Best body text is #000000 at 13.98:1 contrast (WCAG AA passes).
Color values
| HEX | #E7D45E |
|---|---|
| RGB | rgb(231, 212, 94) |
| HSL | hsl(52, 74%, 64%) |
| HSV | hsv(52, 59%, 91%) |
| CMYK | cmyk(0%, 8.2%, 59.3%, 9.4%) |
| CIE-LAB | lab(84.43, -7.50, 59.40) |
| CIE-LCH | lch(84.43, 59.87, 97.20°) |
| OKLab | oklab(86.32% -0.0247 0.1369) |
| OKLCH | oklch(86.32% 0.139 100.2) |
| XYZ | xyz(58.5211, 64.8864, 20.0293) |
| Luminance | 0.6488 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.14
Sandy
#F1DA7A
ΔE00 3.64
Sand Yellow
#FCE166
ΔE00 3.85
Light Mustard
#F7D560
ΔE00 4.12
Pale Gold
#FDDE6C
ΔE00 4.28
Light Gold
#FDDC5C
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7D45E #5E71E7
analogous
#E78F5E #E7D45E #B5E75E
triadic
#E7D45E #5EE7D4 #D45EE7
tetradic
#E7D45E #5EE78F #5E71E7 #E75EB5
square
#E7D45E #5EE78F #5E71E7 #E75EB5
split-complementary
#E7D45E #5EB5E7 #8F5EE7
monochromatic
#B09C1A #DFC629 #E7D45E #EFE293 #F7F0C9
Accessibility & contrast
On white
1.50
#E7D45E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.98
#E7D45E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7D45E
13.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7D45E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7D45E | 1.00 | 1.50 | 13.98 | 13.98 |
| #FFFFFF | 1.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6CE51
Deuteranopia (green-blind)
#EBD664
Tritanopia (blue-blind)
#F7C6BA
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #e7d45e; /* rgb */ color: rgb(231, 212, 94); /* oklch */ color: oklch(86.3% 0.139 100.2);
Tailwind
colors: {
custom: {
50: '#f2e090',
500: '#e7d45e',
950: '#000000',
},
}SCSS
$custom: #e7d45e; $custom-light: #f2e090; $custom-dark: #000000;
JSON
{
"hex": "#e7d45e",
"rgb": {
"r": 231,
"g": 212,
"b": 94
},
"hsl": {
"h": 51.679,
"s": 74.054,
"l": 63.725
},
"oklch": {
"l": 0.86317,
"c": 0.13907,
"h": 100.2
},
"luminance": 0.64884
}Semantic roles & 50–950 ramp
primary
#E7D45E
secondary
#3849B1
accent
#2BD60F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F