#B8A04B#B8A04B
#B8A04B is a light, moderate yellow. Relative luminance 0.358; OKLCH L 71.0% C 0.109 H 93.7°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #B8A04B |
|---|---|
| RGB | rgb(184, 160, 75) |
| HSL | hsl(47, 43%, 51%) |
| HSV | hsv(47, 59%, 72%) |
| CMYK | cmyk(0%, 13%, 59.2%, 27.8%) |
| CIE-LAB | lab(66.40, -1.60, 46.70) |
| CIE-LCH | lch(66.40, 46.73, 91.96°) |
| OKLab | oklab(70.98% -0.007 0.1084) |
| OKLCH | oklch(70.98% 0.109 93.7) |
| XYZ | xyz(33.6094, 35.8416, 11.8030) |
| Luminance | 0.3584 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Brown
#C4A661
ΔE00 4.34
Desert
#CCAD60
ΔE00 5.03
Camel (survey)
#C69F59
ΔE00 5.97
Brown Yellow
#B29705
ΔE00 6.15
Dark Gold
#B59410
ΔE00 6.18
Ocher
#BF9B0C
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8A04B #4B63B8
analogous
#B8694B #B8A04B #99B84B
triadic
#B8A04B #4BB8A0 #A04BB8
tetradic
#B8A04B #4BB869 #4B63B8 #B84B99
square
#B8A04B #4BB869 #4B63B8 #B84B99
split-complementary
#B8A04B #4B99B8 #694BB8
monochromatic
#625527 #8E7B38 #B8A04B #C9B777 #DBCEA3
Accessibility & contrast
On white
2.57
#B8A04B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.17
#B8A04B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8A04B
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8A04B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8A04B | 1.00 | 2.57 | 8.17 | 8.17 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9D42
Deuteranopia (green-blind)
#B5A54F
Tritanopia (blue-blind)
#C6958D
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #b8a04b; /* rgb */ color: rgb(184, 160, 75); /* oklch */ color: oklch(71.0% 0.109 93.7);
Tailwind
colors: {
custom: {
50: '#d0bb80',
500: '#b8a04b',
950: '#000000',
},
}SCSS
$custom: #b8a04b; $custom-light: #d0bb80; $custom-dark: #000000;
JSON
{
"hex": "#b8a04b",
"rgb": {
"r": 184,
"g": 160,
"b": 75
},
"hsl": {
"h": 46.789,
"s": 43.426,
"l": 50.784
},
"oklch": {
"l": 0.70984,
"c": 0.10861,
"h": 93.7
},
"luminance": 0.3584
}Semantic roles & 50–950 ramp
primary
#B8A04B
secondary
#97A2C8
accent
#70D355
background
#FDFBF8
surface
#FAF6EF
border
#D3D0CA
text
#14110A
muted
#83807C