#E7BF39#E7BF39
#E7BF39 is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.8% C 0.150 H 91.4°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).
Color values
| HEX | #E7BF39 |
|---|---|
| RGB | rgb(231, 191, 57) |
| HSL | hsl(46, 78%, 56%) |
| HSV | hsv(46, 75%, 91%) |
| CMYK | cmyk(0%, 17.3%, 75.3%, 9.4%) |
| CIE-LAB | lab(78.78, 1.26, 68.49) |
| CIE-LCH | lch(78.78, 68.50, 88.95°) |
| OKLab | oklab(81.76% -0.0037 0.1501) |
| OKLCH | oklch(81.76% 0.15 91.4) |
| XYZ | xyz(52.3273, 54.5492, 11.6430) |
| Luminance | 0.5455 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 2.89
Gold (survey)
#DBB40C
ΔE00 3.42
Golden
#F5BF03
ΔE00 4.04
Maize
#F4D054
ΔE00 4.21
Dark Yellow
#D5B60A
ΔE00 4.25
Goldenrod (survey)
#FAC205
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7BF39 #3961E7
analogous
#E76839 #E7BF39 #B8E739
triadic
#E7BF39 #39E7BF #BF39E7
tetradic
#E7BF39 #39E768 #3961E7 #E739B8
square
#E7BF39 #39E768 #3961E7 #E739B8
split-complementary
#E7BF39 #39B8E7 #6839E7
monochromatic
#947612 #CAA119 #E7BF39 #EED170 #F4E2A6
Accessibility & contrast
On white
1.76
#E7BF39 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.91
#E7BF39 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7BF39
11.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7BF39 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7BF39 | 1.00 | 1.76 | 11.91 | 11.91 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4BC21
Deuteranopia (green-blind)
#DEC841
Tritanopia (blue-blind)
#FAAFA5
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #e7bf39; /* rgb */ color: rgb(231, 191, 57); /* oklch */ color: oklch(81.8% 0.150 91.4);
Tailwind
colors: {
custom: {
50: '#f3d179',
500: '#e7bf39',
950: '#000000',
},
}SCSS
$custom: #e7bf39; $custom-light: #f3d179; $custom-dark: #000000;
JSON
{
"hex": "#e7bf39",
"rgb": {
"r": 231,
"g": 191,
"b": 57
},
"hsl": {
"h": 46.207,
"s": 78.378,
"l": 56.471
},
"oklch": {
"l": 0.81762,
"c": 0.15014,
"h": 91.4
},
"luminance": 0.54546
}Semantic roles & 50–950 ramp
primary
#E7BF39
secondary
#2C4598
accent
#60F533
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140A
muted
#86837D