#B8A72A#B8A72A
#B8A72A is a light, vivid yellow. Relative luminance 0.380; OKLCH L 72.2% C 0.138 H 101.2°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).
Color values
| HEX | #B8A72A |
|---|---|
| RGB | rgb(184, 167, 42) |
| HSL | hsl(53, 63%, 44%) |
| HSV | hsv(53, 77%, 72%) |
| CMYK | cmyk(0%, 9.2%, 77.2%, 27.8%) |
| CIE-LAB | lab(68.02, -7.19, 62.03) |
| CIE-LCH | lch(68.02, 62.45, 96.61°) |
| OKLab | oklab(72.19% -0.0267 0.1354) |
| OKLCH | oklch(72.19% 0.138 101.2) |
| XYZ | xyz(34.0054, 37.9965, 7.7329) |
| Luminance | 0.3800 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 2.84
Brownish Yellow
#C9B003
ΔE00 4.49
Puke
#A5A502
ΔE00 4.96
Olive Yellow
#C2B709
ΔE00 5.25
Brown Yellow
#B29705
ΔE00 5.28
Vomit
#A2A415
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8A72A #2A3BB8
analogous
#B8602A #B8A72A #82B82A
triadic
#B8A72A #2AB8A7 #A72AB8
tetradic
#B8A72A #2AB860 #2A3BB8 #B82A82
square
#B8A72A #2AB860 #2A3BB8 #B82A82
split-complementary
#B8A72A #2A82B8 #602AB8
monochromatic
#544D13 #867A1F #B8A72A #D6C54A #E1D57B
Accessibility & contrast
On white
2.44
#B8A72A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.60
#B8A72A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8A72A
8.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8A72A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8A72A | 1.00 | 2.44 | 8.60 | 8.60 |
| #FFFFFF | 2.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A20D
Deuteranopia (green-blind)
#BCA933
Tritanopia (blue-blind)
#C79B8F
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #b8a72a; /* rgb */ color: rgb(184, 167, 42); /* oklch */ color: oklch(72.2% 0.138 101.2);
Tailwind
colors: {
custom: {
50: '#d1c06e',
500: '#b8a72a',
950: '#000000',
},
}SCSS
$custom: #b8a72a; $custom-light: #d1c06e; $custom-dark: #000000;
JSON
{
"hex": "#b8a72a",
"rgb": {
"r": 184,
"g": 167,
"b": 42
},
"hsl": {
"h": 52.817,
"s": 62.832,
"l": 44.314
},
"oklch": {
"l": 0.72185,
"c": 0.13804,
"h": 101.2
},
"luminance": 0.37995
}Semantic roles & 50–950 ramp
primary
#B8A72A
secondary
#757FC9
accent
#56E642
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#151208
muted
#83817B