#B8A146#B8A146
#B8A146 is a light, moderate yellow. Relative luminance 0.361; OKLCH L 71.1% C 0.114 H 95.1°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #B8A146 |
|---|---|
| RGB | rgb(184, 161, 70) |
| HSL | hsl(48, 45%, 50%) |
| HSV | hsv(48, 62%, 72%) |
| CMYK | cmyk(0%, 12.5%, 62%, 27.8%) |
| CIE-LAB | lab(66.61, -2.49, 49.30) |
| CIE-LCH | lch(66.61, 49.37, 92.89°) |
| OKLab | oklab(71.14% -0.0102 0.1133) |
| OKLCH | oklch(71.14% 0.114 95.1) |
| XYZ | xyz(33.6190, 36.1239, 10.9950) |
| Luminance | 0.3612 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Brown
#C4A661
ΔE00 5.11
Desert
#CCAD60
ΔE00 5.41
Brown Yellow
#B29705
ΔE00 5.56
Ocher
#BF9B0C
ΔE00 5.79
Dark Gold
#B59410
ΔE00 5.86
Yellow Brown
#B79400
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8A146 #465DB8
analogous
#B86846 #B8A146 #96B846
triadic
#B8A146 #46B8A1 #A146B8
tetradic
#B8A146 #46B868 #465DB8 #B84696
square
#B8A146 #46B868 #465DB8 #B84696
split-complementary
#B8A146 #4696B8 #6846B8
monochromatic
#5F5324 #8C7A35 #B8A146 #C9B872 #DACE9E
Accessibility & contrast
On white
2.55
#B8A146 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.22
#B8A146 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8A146
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8A146 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8A146 | 1.00 | 2.55 | 8.22 | 8.22 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09E3C
Deuteranopia (green-blind)
#B6A54A
Tritanopia (blue-blind)
#C6968D
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #b8a146; /* rgb */ color: rgb(184, 161, 70); /* oklch */ color: oklch(71.1% 0.114 95.1);
Tailwind
colors: {
custom: {
50: '#d0bc7d',
500: '#b8a146',
950: '#000000',
},
}SCSS
$custom: #b8a146; $custom-light: #d0bc7d; $custom-dark: #000000;
JSON
{
"hex": "#b8a146",
"rgb": {
"r": 184,
"g": 161,
"b": 70
},
"hsl": {
"h": 47.895,
"s": 44.882,
"l": 49.804
},
"oklch": {
"l": 0.71139,
"c": 0.11375,
"h": 95.1
},
"luminance": 0.36122
}Semantic roles & 50–950 ramp
primary
#B8A146
secondary
#939EC7
accent
#6DD553
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C