#E2BC2F#E2BC2F
#E2BC2F is a light, vivid yellow. Relative luminance 0.523; OKLCH L 80.6% C 0.153 H 92.7°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).
Color values
| HEX | #E2BC2F |
|---|---|
| RGB | rgb(226, 188, 47) |
| HSL | hsl(47, 76%, 54%) |
| HSV | hsv(47, 79%, 89%) |
| CMYK | cmyk(0%, 16.8%, 79.2%, 11.4%) |
| CIE-LAB | lab(77.49, 0.30, 70.45) |
| CIE-LCH | lch(77.49, 70.45, 89.75°) |
| OKLab | oklab(80.61% -0.0072 0.1525) |
| OKLCH | oklch(80.61% 0.153 92.7) |
| XYZ | xyz(49.8633, 52.3435, 10.1657) |
| Luminance | 0.5234 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 2.12
Gold (survey)
#DBB40C
ΔE00 2.38
Dark Yellow
#D5B60A
ΔE00 3.08
Mustard (survey)
#CEB301
ΔE00 4.40
Golden
#F5BF03
ΔE00 4.44
Burnt Yellow
#D5AB09
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2BC2F #2F55E2
analogous
#E2632F #E2BC2F #AEE22F
triadic
#E2BC2F #2FE2BC #BC2FE2
tetradic
#E2BC2F #2FE263 #2F55E2 #E22FAE
square
#E2BC2F #2FE263 #2F55E2 #E22FAE
split-complementary
#E2BC2F #2FAEE2 #632FE2
monochromatic
#846C12 #BA981A #E2BC2F #E9CD65 #F1DF9A
Accessibility & contrast
On white
1.83
#E2BC2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.47
#E2BC2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2BC2F
11.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2BC2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2BC2F | 1.00 | 1.83 | 11.47 | 11.47 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1B909
Deuteranopia (green-blind)
#DBC438
Tritanopia (blue-blind)
#F5ACA2
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #e2bc2f; /* rgb */ color: rgb(226, 188, 47); /* oklch */ color: oklch(80.6% 0.153 92.7);
Tailwind
colors: {
custom: {
50: '#f0cf74',
500: '#e2bc2f',
950: '#000000',
},
}SCSS
$custom: #e2bc2f; $custom-light: #f0cf74; $custom-dark: #000000;
JSON
{
"hex": "#e2bc2f",
"rgb": {
"r": 226,
"g": 188,
"b": 47
},
"hsl": {
"h": 47.263,
"s": 75.527,
"l": 53.529
},
"oklch": {
"l": 0.80612,
"c": 0.15269,
"h": 92.7
},
"luminance": 0.5234
}Semantic roles & 50–950 ramp
primary
#E2BC2F
secondary
#2B3F8A
accent
#5EF236
background
#FFFEFB
surface
#FFFBF1
border
#D7D4CB
text
#171309
muted
#85837D