#B8A45A#B8A45A
#B8A45A is a light, moderate yellow. Relative luminance 0.375; OKLCH L 72.0% C 0.097 H 94.6°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #B8A45A |
|---|---|
| RGB | rgb(184, 164, 90) |
| HSL | hsl(47, 40%, 54%) |
| HSV | hsv(47, 51%, 72%) |
| CMYK | cmyk(0%, 10.9%, 51.1%, 27.8%) |
| CIE-LAB | lab(67.64, -2.50, 40.75) |
| CIE-LCH | lch(67.64, 40.83, 93.51°) |
| OKLab | oklab(72.02% -0.0078 0.097) |
| OKLCH | oklch(72.02% 0.097 94.6) |
| XYZ | xyz(34.8893, 37.4809, 15.0676) |
| Luminance | 0.3748 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Brown
#C4A661
ΔE00 3.69
Desert
#CCAD60
ΔE00 4.59
Khaki (survey)
#AAA662
ΔE00 5.14
Sandstone
#C9AE74
ΔE00 5.53
Tan (survey)
#D1B26F
ΔE00 6.10
Sand Brown
#CBA560
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8A45A #5A6EB8
analogous
#B8755A #B8A45A #9DB85A
triadic
#B8A45A #5AB8A4 #A45AB8
tetradic
#B8A45A #5AB875 #5A6EB8 #B85A9D
square
#B8A45A #5AB875 #5A6EB8 #B85A9D
split-complementary
#B8A45A #5A9DB8 #755AB8
monochromatic
#6A5D2E #958340 #B8A45A #CABC85 #DDD3B0
Accessibility & contrast
On white
2.47
#B8A45A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.50
#B8A45A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8A45A
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8A45A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8A45A | 1.00 | 2.47 | 8.50 | 8.50 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B2A154
Deuteranopia (green-blind)
#B7A75D
Tritanopia (blue-blind)
#C49A93
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #b8a45a; /* rgb */ color: rgb(184, 164, 90); /* oklch */ color: oklch(72.0% 0.097 94.6);
Tailwind
colors: {
custom: {
50: '#cfbe8a',
500: '#b8a45a',
950: '#000000',
},
}SCSS
$custom: #b8a45a; $custom-light: #cfbe8a; $custom-dark: #000000;
JSON
{
"hex": "#b8a45a",
"rgb": {
"r": 184,
"g": 164,
"b": 90
},
"hsl": {
"h": 47.234,
"s": 39.831,
"l": 53.725
},
"oklch": {
"l": 0.72019,
"c": 0.0973,
"h": 94.6
},
"luminance": 0.37479
}Semantic roles & 50–950 ramp
primary
#B8A45A
secondary
#A3ABCB
accent
#72D058
background
#FDFBF8
surface
#FAF6F0
border
#D3D0CB
text
#14120C
muted
#83817D