#B8A157#B8A157
#B8A157 is a light, moderate yellow. Relative luminance 0.364; OKLCH L 71.3% C 0.098 H 92.5°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).
Color values
| HEX | #B8A157 |
|---|---|
| RGB | rgb(184, 161, 87) |
| HSL | hsl(46, 41%, 53%) |
| HSV | hsv(46, 53%, 72%) |
| CMYK | cmyk(0%, 12.5%, 52.7%, 27.8%) |
| CIE-LAB | lab(66.80, -1.16, 41.26) |
| CIE-LCH | lch(66.80, 41.28, 91.60°) |
| OKLab | oklab(71.35% -0.0043 0.0978) |
| OKLCH | oklch(71.35% 0.098 92.5) |
| XYZ | xyz(34.2336, 36.3698, 14.2318) |
| Luminance | 0.3637 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Brown
#C4A661
ΔE00 3.23
Desert
#CCAD60
ΔE00 4.55
Camel (survey)
#C69F59
ΔE00 5.31
Sand Brown
#CBA560
ΔE00 5.46
Sandstone
#C9AE74
ΔE00 5.62
Khaki (survey)
#AAA662
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8A157 #576EB8
analogous
#B87057 #B8A157 #9EB857
triadic
#B8A157 #57B8A1 #A157B8
tetradic
#B8A157 #57B870 #576EB8 #B8579E
square
#B8A157 #57B870 #576EB8 #B8579E
split-complementary
#B8A157 #579EB8 #7057B8
monochromatic
#685A2C #937F3E #B8A157 #CAB982 #DCD1AD
Accessibility & contrast
On white
2.54
#B8A157 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.27
#B8A157 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8A157
8.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8A157 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8A157 | 1.00 | 2.54 | 8.27 | 8.27 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9F51
Deuteranopia (green-blind)
#B5A55A
Tritanopia (blue-blind)
#C59790
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #b8a157; /* rgb */ color: rgb(184, 161, 87); /* oklch */ color: oklch(71.3% 0.098 92.5);
Tailwind
colors: {
custom: {
50: '#cfbc88',
500: '#b8a157',
950: '#000000',
},
}SCSS
$custom: #b8a157; $custom-light: #cfbc88; $custom-dark: #000000;
JSON
{
"hex": "#b8a157",
"rgb": {
"r": 184,
"g": 161,
"b": 87
},
"hsl": {
"h": 45.773,
"s": 40.586,
"l": 53.137
},
"oklch": {
"l": 0.71347,
"c": 0.09793,
"h": 92.5
},
"luminance": 0.36368
}Semantic roles & 50–950 ramp
primary
#B8A157
secondary
#A0AACA
accent
#74D057
background
#FDFBF8
surface
#FAF6F0
border
#D3D0CB
text
#14120B
muted
#83817C