#B4A73A#B4A73A
#B4A73A is a light, vivid yellow. Relative luminance 0.376; OKLCH L 71.9% C 0.128 H 102.5°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #B4A73A |
|---|---|
| RGB | rgb(180, 167, 58) |
| HSL | hsl(54, 51%, 47%) |
| HSV | hsv(54, 68%, 71%) |
| CMYK | cmyk(0%, 7.2%, 67.8%, 29.4%) |
| CIE-LAB | lab(67.76, -8.18, 55.68) |
| CIE-LCH | lch(67.76, 56.28, 98.35°) |
| OKLab | oklab(71.93% -0.0276 0.1251) |
| OKLCH | oklch(71.93% 0.128 102.5) |
| XYZ | xyz(33.4062, 37.6476, 9.5092) |
| Luminance | 0.3765 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.67
Puke
#A5A502
ΔE00 4.86
Vomit
#A2A415
ΔE00 4.94
Brownish Yellow
#C9B003
ΔE00 6.24
Olive Yellow
#C2B709
ΔE00 6.26
Brown Yellow
#B29705
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4A73A #3A47B4
analogous
#B46A3A #B4A73A #84B43A
triadic
#B4A73A #3AB4A7 #A73AB4
tetradic
#B4A73A #3AB46A #3A47B4 #B43A84
square
#B4A73A #3AB46A #3A47B4 #B43A84
split-complementary
#B4A73A #3A84B4 #6A3AB4
monochromatic
#57511C #867C2B #B4A73A #CCC060 #DBD28E
Accessibility & contrast
On white
2.46
#B4A73A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.53
#B4A73A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4A73A
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4A73A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4A73A | 1.00 | 2.46 | 8.53 | 8.53 |
| #FFFFFF | 2.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A22B
Deuteranopia (green-blind)
#BAA841
Tritanopia (blue-blind)
#C19C91
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #b4a73a; /* rgb */ color: rgb(180, 167, 58); /* oklch */ color: oklch(71.9% 0.128 102.5);
Tailwind
colors: {
custom: {
50: '#cec076',
500: '#b4a73a',
950: '#000000',
},
}SCSS
$custom: #b4a73a; $custom-light: #cec076; $custom-dark: #000000;
JSON
{
"hex": "#b4a73a",
"rgb": {
"r": 180,
"g": 167,
"b": 58
},
"hsl": {
"h": 53.607,
"s": 51.261,
"l": 46.667
},
"oklch": {
"l": 0.71927,
"c": 0.12808,
"h": 102.5
},
"luminance": 0.37646
}Semantic roles & 50–950 ramp
primary
#B4A73A
secondary
#858BC5
accent
#5CDB4D
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B