#E7D45F#E7D45F
#E7D45F is a very light, vivid yellow. Relative luminance 0.649; OKLCH L 86.3% C 0.138 H 100.2°. Best body text is #000000 at 13.98:1 contrast (WCAG AA passes).
Color values
| HEX | #E7D45F |
|---|---|
| RGB | rgb(231, 212, 95) |
| HSL | hsl(52, 74%, 64%) |
| HSV | hsv(52, 59%, 91%) |
| CMYK | cmyk(0%, 8.2%, 58.9%, 9.4%) |
| CIE-LAB | lab(84.43, -7.43, 58.97) |
| CIE-LCH | lch(84.43, 59.44, 97.18°) |
| OKLab | oklab(86.33% -0.0244 0.1361) |
| OKLCH | oklch(86.33% 0.138 100.2) |
| XYZ | xyz(58.5663, 64.9045, 20.2671) |
| Luminance | 0.6490 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.20
Sandy
#F1DA7A
ΔE00 3.54
Sand Yellow
#FCE166
ΔE00 3.86
Light Mustard
#F7D560
ΔE00 4.11
Pale Gold
#FDDE6C
ΔE00 4.26
Yellow Tan
#FFE36E
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7D45F #5F72E7
analogous
#E7905F #E7D45F #B6E75F
triadic
#E7D45F #5FE7D4 #D45FE7
tetradic
#E7D45F #5FE790 #5F72E7 #E75FB6
square
#E7D45F #5FE790 #5F72E7 #E75FB6
split-complementary
#E7D45F #5FB6E7 #905FE7
monochromatic
#B19C1B #DFC62A #E7D45F #EFE294 #F7F1C9
Accessibility & contrast
On white
1.50
#E7D45F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.98
#E7D45F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7D45F
13.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7D45F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7D45F | 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)
#E6CE53
Deuteranopia (green-blind)
#EBD665
Tritanopia (blue-blind)
#F7C6BA
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #e7d45f; /* rgb */ color: rgb(231, 212, 95); /* oklch */ color: oklch(86.3% 0.138 100.2);
Tailwind
colors: {
custom: {
50: '#f1e090',
500: '#e7d45f',
950: '#000000',
},
}SCSS
$custom: #e7d45f; $custom-light: #f1e090; $custom-dark: #000000;
JSON
{
"hex": "#e7d45f",
"rgb": {
"r": 231,
"g": 212,
"b": 95
},
"hsl": {
"h": 51.618,
"s": 73.913,
"l": 63.922
},
"oklch": {
"l": 0.86328,
"c": 0.13823,
"h": 100.2
},
"luminance": 0.64902
}Semantic roles & 50–950 ramp
primary
#E7D45F
secondary
#3949B2
accent
#2BD60F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F