#E7BF46#E7BF46
#E7BF46 is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.9% C 0.142 H 90.3°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).
Color values
| HEX | #E7BF46 |
|---|---|
| RGB | rgb(231, 191, 70) |
| HSL | hsl(45, 77%, 59%) |
| HSV | hsv(45, 70%, 91%) |
| CMYK | cmyk(0%, 17.3%, 69.7%, 9.4%) |
| CIE-LAB | lab(78.87, 1.85, 63.65) |
| CIE-LCH | lch(78.87, 63.67, 88.34°) |
| OKLab | oklab(81.86% -0.0006 0.1423) |
| OKLCH | oklch(81.86% 0.142 90.3) |
| XYZ | xyz(52.6942, 54.6959, 13.5751) |
| Luminance | 0.5469 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.23
Maize
#F4D054
ΔE00 4.14
Gold (survey)
#DBB40C
ΔE00 4.26
Golden
#F5BF03
ΔE00 4.75
Dark Yellow
#D5B60A
ΔE00 5.11
Goldenrod (survey)
#FAC205
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7BF46 #466EE7
analogous
#E76F46 #E7BF46 #BFE746
triadic
#E7BF46 #46E7BF #BF46E7
tetradic
#E7BF46 #46E76F #466EE7 #E746BF
square
#E7BF46 #46E76F #466EE7 #E746BF
split-complementary
#E7BF46 #46BFE7 #6F46E7
monochromatic
#9E7C15 #D4A61C #E7BF46 #EED27C #F5E4B2
Accessibility & contrast
On white
1.76
#E7BF46 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.94
#E7BF46 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7BF46
11.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7BF46 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7BF46 | 1.00 | 1.76 | 11.94 | 11.94 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4BD36
Deuteranopia (green-blind)
#DEC84C
Tritanopia (blue-blind)
#FAAFA6
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #e7bf46; /* rgb */ color: rgb(231, 191, 70); /* oklch */ color: oklch(81.9% 0.142 90.3);
Tailwind
colors: {
custom: {
50: '#f3d180',
500: '#e7bf46',
950: '#000000',
},
}SCSS
$custom: #e7bf46; $custom-light: #f3d180; $custom-dark: #000000;
JSON
{
"hex": "#e7bf46",
"rgb": {
"r": 231,
"g": 191,
"b": 70
},
"hsl": {
"h": 45.093,
"s": 77.033,
"l": 59.02
},
"oklch": {
"l": 0.81856,
"c": 0.14226,
"h": 90.3
},
"luminance": 0.54693
}Semantic roles & 50–950 ramp
primary
#E7BF46
secondary
#304CA1
accent
#64F434
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E