#E2BC2D#E2BC2D
#E2BC2D is a light, vivid yellow. Relative luminance 0.523; OKLCH L 80.6% C 0.154 H 92.8°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).
Color values
| HEX | #E2BC2D |
|---|---|
| RGB | rgb(226, 188, 45) |
| HSL | hsl(47, 76%, 53%) |
| HSV | hsv(47, 80%, 89%) |
| CMYK | cmyk(0%, 16.8%, 80.1%, 11.4%) |
| CIE-LAB | lab(77.48, 0.24, 71.06) |
| CIE-LCH | lch(77.48, 71.06, 89.81°) |
| OKLab | oklab(80.6% -0.0075 0.1534) |
| OKLCH | oklch(80.6% 0.154 92.8) |
| XYZ | xyz(49.8238, 52.3277, 9.9581) |
| Luminance | 0.5232 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 2.16
Gold (survey)
#DBB40C
ΔE00 2.31
Dark Yellow
#D5B60A
ΔE00 3.00
Mustard (survey)
#CEB301
ΔE00 4.34
Golden
#F5BF03
ΔE00 4.40
Burnt Yellow
#D5AB09
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2BC2D #2D53E2
analogous
#E2612D #E2BC2D #AEE22D
triadic
#E2BC2D #2DE2BC #BC2DE2
tetradic
#E2BC2D #2DE261 #2D53E2 #E22DAE
square
#E2BC2D #2DE261 #2D53E2 #E22DAE
split-complementary
#E2BC2D #2DAEE2 #612DE2
monochromatic
#836B12 #B89719 #E2BC2D #E9CD63 #F1DE99
Accessibility & contrast
On white
1.83
#E2BC2D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.47
#E2BC2D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2BC2D
11.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2BC2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2BC2D | 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)
#D1B902
Deuteranopia (green-blind)
#DBC437
Tritanopia (blue-blind)
#F5ACA2
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #e2bc2d; /* rgb */ color: rgb(226, 188, 45); /* oklch */ color: oklch(80.6% 0.154 92.8);
Tailwind
colors: {
custom: {
50: '#f0cf73',
500: '#e2bc2d',
950: '#000000',
},
}SCSS
$custom: #e2bc2d; $custom-light: #f0cf73; $custom-dark: #000000;
JSON
{
"hex": "#e2bc2d",
"rgb": {
"r": 226,
"g": 188,
"b": 45
},
"hsl": {
"h": 47.403,
"s": 75.732,
"l": 53.137
},
"oklch": {
"l": 0.80602,
"c": 0.15362,
"h": 92.8
},
"luminance": 0.52325
}Semantic roles & 50–950 ramp
primary
#E2BC2D
secondary
#2A3E89
accent
#5DF235
background
#FFFEFB
surface
#FFFBF1
border
#D7D4CB
text
#181309
muted
#86837D