#B8A03A#B8A03A
#B8A03A is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.8% C 0.123 H 95.8°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #B8A03A |
|---|---|
| RGB | rgb(184, 160, 58) |
| HSL | hsl(49, 52%, 47%) |
| HSV | hsv(49, 68%, 72%) |
| CMYK | cmyk(0%, 13%, 68.5%, 27.8%) |
| CIE-LAB | lab(66.24, -2.71, 54.24) |
| CIE-LCH | lch(66.24, 54.30, 92.86°) |
| OKLab | oklab(70.81% -0.0123 0.1219) |
| OKLCH | oklch(70.81% 0.123 95.8) |
| XYZ | xyz(33.1033, 35.6392, 9.1376) |
| Luminance | 0.3564 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 4.20
Ocher
#BF9B0C
ΔE00 4.57
Dark Gold
#B59410
ΔE00 4.75
Yellow Brown
#B79400
ΔE00 5.29
Baby Shit Brown
#AD900D
ΔE00 5.47
Baby Poo
#AB9004
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8A03A #3A52B8
analogous
#B8613A #B8A03A #91B83A
triadic
#B8A03A #3AB8A0 #A03AB8
tetradic
#B8A03A #3AB861 #3A52B8 #B83A91
square
#B8A03A #3AB861 #3A52B8 #B83A91
split-complementary
#B8A03A #3A91B8 #613AB8
monochromatic
#5B4F1D #89782B #B8A03A #CDB962 #DCCE90
Accessibility & contrast
On white
2.58
#B8A03A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.13
#B8A03A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8A03A
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8A03A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8A03A | 1.00 | 2.58 | 8.13 | 8.13 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09D2D
Deuteranopia (green-blind)
#B6A43F
Tritanopia (blue-blind)
#C6948B
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #b8a03a; /* rgb */ color: rgb(184, 160, 58); /* oklch */ color: oklch(70.8% 0.123 95.8);
Tailwind
colors: {
custom: {
50: '#d1bb76',
500: '#b8a03a',
950: '#000000',
},
}SCSS
$custom: #b8a03a; $custom-light: #d1bb76; $custom-dark: #000000;
JSON
{
"hex": "#b8a03a",
"rgb": {
"r": 184,
"g": 160,
"b": 58
},
"hsl": {
"h": 48.571,
"s": 52.066,
"l": 47.451
},
"oklch": {
"l": 0.70812,
"c": 0.12251,
"h": 95.8
},
"luminance": 0.35637
}Semantic roles & 50–950 ramp
primary
#B8A03A
secondary
#8793C7
accent
#68DC4C
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141109
muted
#83807B