#B8A557#B8A557
#B8A557 is a light, moderate yellow. Relative luminance 0.378; OKLCH L 72.2% C 0.101 H 96.0°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).
Color values
| HEX | #B8A557 |
|---|---|
| RGB | rgb(184, 165, 87) |
| HSL | hsl(48, 41%, 53%) |
| HSV | hsv(48, 53%, 72%) |
| CMYK | cmyk(0%, 10.3%, 52.7%, 27.8%) |
| CIE-LAB | lab(67.87, -3.30, 42.54) |
| CIE-LCH | lch(67.87, 42.66, 94.44°) |
| OKLab | oklab(72.19% -0.0105 0.1006) |
| OKLCH | oklch(72.19% 0.101 96) |
| XYZ | xyz(34.9438, 37.7902, 14.4686) |
| Luminance | 0.3779 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Brown
#C4A661
ΔE00 4.24
Desert
#CCAD60
ΔE00 4.76
Khaki (survey)
#AAA662
ΔE00 5.02
Darkkhaki
#BDB76B
ΔE00 5.98
Sandstone
#C9AE74
ΔE00 6.06
Tan (survey)
#D1B26F
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8A557 #576AB8
analogous
#B87457 #B8A557 #9BB857
triadic
#B8A557 #57B8A5 #A557B8
tetradic
#B8A557 #57B874 #576AB8 #B8579B
square
#B8A557 #57B874 #576AB8 #B8579B
split-complementary
#B8A557 #579BB8 #7457B8
monochromatic
#685D2C #93833E #B8A557 #CABC82 #DCD3AD
Accessibility & contrast
On white
2.45
#B8A557 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.56
#B8A557 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8A557
8.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8A557 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8A557 | 1.00 | 2.45 | 8.56 | 8.56 |
| #FFFFFF | 2.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B3A250
Deuteranopia (green-blind)
#B8A85A
Tritanopia (blue-blind)
#C59B93
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #b8a557; /* rgb */ color: rgb(184, 165, 87); /* oklch */ color: oklch(72.2% 0.101 96.0);
Tailwind
colors: {
custom: {
50: '#cfbf88',
500: '#b8a557',
950: '#000000',
},
}SCSS
$custom: #b8a557; $custom-light: #cfbf88; $custom-dark: #000000;
JSON
{
"hex": "#b8a557",
"rgb": {
"r": 184,
"g": 165,
"b": 87
},
"hsl": {
"h": 48.247,
"s": 40.586,
"l": 53.137
},
"oklch": {
"l": 0.72188,
"c": 0.10119,
"h": 96
},
"luminance": 0.37789
}Semantic roles & 50–950 ramp
primary
#B8A557
secondary
#A0A9CA
accent
#6FD057
background
#FDFBF8
surface
#FAF7F0
border
#D3D0CB
text
#14120B
muted
#83817C