#E2BF4F#E2BF4F
#E2BF4F is a light, vivid yellow. Relative luminance 0.540; OKLCH L 81.4% C 0.135 H 91.7°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).
Color values
| HEX | #E2BF4F |
|---|---|
| RGB | rgb(226, 191, 79) |
| HSL | hsl(46, 72%, 60%) |
| HSV | hsv(46, 65%, 89%) |
| CMYK | cmyk(0%, 15.5%, 65%, 11.4%) |
| CIE-LAB | lab(78.46, 0.23, 59.32) |
| CIE-LCH | lch(78.46, 59.32, 89.78°) |
| OKLab | oklab(81.45% -0.0039 0.1347) |
| OKLCH | oklch(81.45% 0.135 91.7) |
| XYZ | xyz(51.4087, 53.9977, 15.1104) |
| Luminance | 0.5400 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.65
Maize
#F4D054
ΔE00 4.33
Gold (survey)
#DBB40C
ΔE00 4.87
Dark Yellow
#D5B60A
ΔE00 5.21
Light Mustard
#F7D560
ΔE00 5.27
Sand (survey)
#E2CA76
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2BF4F #4F72E2
analogous
#E2754F #E2BF4F #BCE24F
triadic
#E2BF4F #4FE2BF #BF4FE2
tetradic
#E2BF4F #4FE275 #4F72E2 #E24FBC
square
#E2BF4F #4FE275 #4F72E2 #E24FBC
split-complementary
#E2BF4F #4FBCE2 #754FE2
monochromatic
#9D7E1A #D1A822 #E2BF4F #EBD284 #F3E5B8
Accessibility & contrast
On white
1.78
#E2BF4F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.80
#E2BF4F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2BF4F
11.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2BF4F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2BF4F | 1.00 | 1.78 | 11.80 | 11.80 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3BC42
Deuteranopia (green-blind)
#DBC654
Tritanopia (blue-blind)
#F4B0A7
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #e2bf4f; /* rgb */ color: rgb(226, 191, 79); /* oklch */ color: oklch(81.4% 0.135 91.7);
Tailwind
colors: {
custom: {
50: '#efd285',
500: '#e2bf4f',
950: '#000000',
},
}SCSS
$custom: #e2bf4f; $custom-light: #efd285; $custom-dark: #000000;
JSON
{
"hex": "#e2bf4f",
"rgb": {
"r": 226,
"g": 191,
"b": 79
},
"hsl": {
"h": 45.714,
"s": 71.707,
"l": 59.804
},
"oklch": {
"l": 0.81449,
"c": 0.13478,
"h": 91.7
},
"luminance": 0.53995
}Semantic roles & 50–950 ramp
primary
#E2BF4F
secondary
#354FA0
accent
#64EE39
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E