#B8A458#B8A458
#B8A458 is a light, moderate yellow. Relative luminance 0.374; OKLCH L 72.0% C 0.099 H 95.0°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).
Color values
| HEX | #B8A458 |
|---|---|
| RGB | rgb(184, 164, 88) |
| HSL | hsl(48, 40%, 53%) |
| HSV | hsv(48, 52%, 72%) |
| CMYK | cmyk(0%, 10.9%, 52.2%, 27.8%) |
| CIE-LAB | lab(67.61, -2.68, 41.73) |
| CIE-LCH | lch(67.61, 41.82, 93.67°) |
| OKLab | oklab(71.99% -0.0086 0.099) |
| OKLCH | oklch(71.99% 0.099 95) |
| XYZ | xyz(34.8053, 37.4473, 14.6253) |
| Luminance | 0.3745 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Brown
#C4A661
ΔE00 3.85
Desert
#CCAD60
ΔE00 4.62
Khaki (survey)
#AAA662
ΔE00 5.21
Sandstone
#C9AE74
ΔE00 5.78
Tan (survey)
#D1B26F
ΔE00 6.24
Sand Brown
#CBA560
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8A458 #586CB8
analogous
#B87458 #B8A458 #9CB858
triadic
#B8A458 #58B8A4 #A458B8
tetradic
#B8A458 #58B874 #586CB8 #B8589C
square
#B8A458 #58B874 #586CB8 #B8589C
split-complementary
#B8A458 #589CB8 #7458B8
monochromatic
#695C2D #94823F #B8A458 #CABB83 #DDD3AE
Accessibility & contrast
On white
2.47
#B8A458 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.49
#B8A458 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8A458
8.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8A458 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8A458 | 1.00 | 2.47 | 8.49 | 8.49 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B2A151
Deuteranopia (green-blind)
#B7A75B
Tritanopia (blue-blind)
#C59A92
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #b8a458; /* rgb */ color: rgb(184, 164, 88); /* oklch */ color: oklch(72.0% 0.099 95.0);
Tailwind
colors: {
custom: {
50: '#cfbe89',
500: '#b8a458',
950: '#000000',
},
}SCSS
$custom: #b8a458; $custom-light: #cfbe89; $custom-dark: #000000;
JSON
{
"hex": "#b8a458",
"rgb": {
"r": 184,
"g": 164,
"b": 88
},
"hsl": {
"h": 47.5,
"s": 40.336,
"l": 53.333
},
"oklch": {
"l": 0.71991,
"c": 0.09933,
"h": 95
},
"luminance": 0.37446
}Semantic roles & 50–950 ramp
primary
#B8A458
secondary
#A1AACB
accent
#71D058
background
#FDFBF8
surface
#FAF6F0
border
#D3D0CB
text
#14120C
muted
#83817D