#E7D461#E7D461
#E7D461 is a very light, vivid yellow. Relative luminance 0.649; OKLCH L 86.3% C 0.137 H 100.0°. Best body text is #000000 at 13.99:1 contrast (WCAG AA passes).
Color values
| HEX | #E7D461 |
|---|---|
| RGB | rgb(231, 212, 97) |
| HSL | hsl(51, 74%, 64%) |
| HSV | hsv(51, 58%, 91%) |
| CMYK | cmyk(0%, 8.2%, 58%, 9.4%) |
| CIE-LAB | lab(84.45, -7.29, 58.10) |
| CIE-LCH | lch(84.45, 58.55, 97.15°) |
| OKLab | oklab(86.35% -0.0238 0.1344) |
| OKLCH | oklch(86.35% 0.137 100) |
| XYZ | xyz(58.6583, 64.9413, 20.7521) |
| Luminance | 0.6494 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.35
Sandy
#F1DA7A
ΔE00 3.34
Sand Yellow
#FCE166
ΔE00 3.90
Light Mustard
#F7D560
ΔE00 4.10
Pale Gold
#FDDE6C
ΔE00 4.22
Yellow Tan
#FFE36E
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7D461 #6174E7
analogous
#E79161 #E7D461 #B7E761
triadic
#E7D461 #61E7D4 #D461E7
tetradic
#E7D461 #61E791 #6174E7 #E761B7
square
#E7D461 #61E791 #6174E7 #E761B7
split-complementary
#E7D461 #61B7E7 #9161E7
monochromatic
#B29D1B #DFC62C #E7D461 #EFE296 #F7F1CB
Accessibility & contrast
On white
1.50
#E7D461 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.99
#E7D461 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7D461
13.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7D461 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7D461 | 1.00 | 1.50 | 13.99 | 13.99 |
| #FFFFFF | 1.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6CF55
Deuteranopia (green-blind)
#EBD667
Tritanopia (blue-blind)
#F7C6BB
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #e7d461; /* rgb */ color: rgb(231, 212, 97); /* oklch */ color: oklch(86.3% 0.137 100.0);
Tailwind
colors: {
custom: {
50: '#f1e092',
500: '#e7d461',
950: '#000000',
},
}SCSS
$custom: #e7d461; $custom-light: #f1e092; $custom-dark: #000000;
JSON
{
"hex": "#e7d461",
"rgb": {
"r": 231,
"g": 212,
"b": 97
},
"hsl": {
"h": 51.493,
"s": 73.626,
"l": 64.314
},
"oklch": {
"l": 0.86349,
"c": 0.13652,
"h": 100
},
"luminance": 0.64939
}Semantic roles & 50–950 ramp
primary
#E7D461
secondary
#394AB3
accent
#2CD610
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F