#B8A159#B8A159
#B8A159 is a light, moderate yellow. Relative luminance 0.364; OKLCH L 71.4% C 0.096 H 92.1°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).
Color values
| HEX | #B8A159 |
|---|---|
| RGB | rgb(184, 161, 89) |
| HSL | hsl(45, 40%, 54%) |
| HSV | hsv(45, 52%, 72%) |
| CMYK | cmyk(0%, 12.5%, 51.6%, 27.8%) |
| CIE-LAB | lab(66.83, -0.98, 40.28) |
| CIE-LCH | lch(66.83, 40.29, 91.39°) |
| OKLab | oklab(71.38% -0.0035 0.0959) |
| OKLCH | oklch(71.38% 0.096 92.1) |
| XYZ | xyz(34.3164, 36.4029, 14.6681) |
| Luminance | 0.3640 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Brown
#C4A661
ΔE00 3.07
Desert
#CCAD60
ΔE00 4.54
Camel (survey)
#C69F59
ΔE00 5.18
Sand Brown
#CBA560
ΔE00 5.32
Sandstone
#C9AE74
ΔE00 5.38
Tan (survey)
#D1B26F
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8A159 #5970B8
analogous
#B87159 #B8A159 #9FB859
triadic
#B8A159 #59B8A1 #A159B8
tetradic
#B8A159 #59B871 #5970B8 #B8599F
square
#B8A159 #59B871 #5970B8 #B8599F
split-complementary
#B8A159 #599FB8 #7159B8
monochromatic
#695B2D #94803F #B8A159 #CAB984 #DDD2AF
Accessibility & contrast
On white
2.54
#B8A159 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.28
#B8A159 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8A159
8.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8A159 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8A159 | 1.00 | 2.54 | 8.28 | 8.28 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9F53
Deuteranopia (green-blind)
#B5A55C
Tritanopia (blue-blind)
#C59790
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #b8a159; /* rgb */ color: rgb(184, 161, 89); /* oklch */ color: oklch(71.4% 0.096 92.1);
Tailwind
colors: {
custom: {
50: '#cfbc89',
500: '#b8a159',
950: '#000000',
},
}SCSS
$custom: #b8a159; $custom-light: #cfbc89; $custom-dark: #000000;
JSON
{
"hex": "#b8a159",
"rgb": {
"r": 184,
"g": 161,
"b": 89
},
"hsl": {
"h": 45.474,
"s": 40.084,
"l": 53.529
},
"oklch": {
"l": 0.71375,
"c": 0.09592,
"h": 92.1
},
"luminance": 0.36401
}Semantic roles & 50–950 ramp
primary
#B8A159
secondary
#A2ACCB
accent
#75D058
background
#FDFBF8
surface
#FAF6F0
border
#D3D0CB
text
#14120C
muted
#83817D