#B8A658#B8A658
#B8A658 is a light, moderate yellow. Relative luminance 0.382; OKLCH L 72.4% C 0.101 H 96.6°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).
Color values
| HEX | #B8A658 |
|---|---|
| RGB | rgb(184, 166, 88) |
| HSL | hsl(49, 40%, 53%) |
| HSV | hsv(49, 52%, 72%) |
| CMYK | cmyk(0%, 9.8%, 52.2%, 27.8%) |
| CIE-LAB | lab(68.14, -3.75, 42.37) |
| CIE-LCH | lch(68.14, 42.54, 95.05°) |
| OKLab | oklab(72.41% -0.0117 0.1004) |
| OKLCH | oklch(72.41% 0.101 96.6) |
| XYZ | xyz(35.1660, 38.1688, 14.7456) |
| Luminance | 0.3817 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Brown
#C4A661
ΔE00 4.46
Khaki (survey)
#AAA662
ΔE00 4.76
Desert
#CCAD60
ΔE00 4.88
Darkkhaki
#BDB76B
ΔE00 5.60
Sandstone
#C9AE74
ΔE00 6.10
Tan (survey)
#D1B26F
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8A658 #586AB8
analogous
#B87658 #B8A658 #9AB858
triadic
#B8A658 #58B8A6 #A658B8
tetradic
#B8A658 #58B876 #586AB8 #B8589A
square
#B8A658 #58B876 #586AB8 #B8589A
split-complementary
#B8A658 #589AB8 #7658B8
monochromatic
#695E2D #94843F #B8A658 #CABD83 #DDD4AE
Accessibility & contrast
On white
2.43
#B8A658 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.63
#B8A658 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8A658
8.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8A658 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8A658 | 1.00 | 2.43 | 8.63 | 8.63 |
| #FFFFFF | 2.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B4A351
Deuteranopia (green-blind)
#B8A95B
Tritanopia (blue-blind)
#C49C94
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #b8a658; /* rgb */ color: rgb(184, 166, 88); /* oklch */ color: oklch(72.4% 0.101 96.6);
Tailwind
colors: {
custom: {
50: '#cfc089',
500: '#b8a658',
950: '#000000',
},
}SCSS
$custom: #b8a658; $custom-light: #cfc089; $custom-dark: #000000;
JSON
{
"hex": "#b8a658",
"rgb": {
"r": 184,
"g": 166,
"b": 88
},
"hsl": {
"h": 48.75,
"s": 40.336,
"l": 53.333
},
"oklch": {
"l": 0.72413,
"c": 0.10105,
"h": 96.6
},
"luminance": 0.38167
}Semantic roles & 50–950 ramp
primary
#B8A658
secondary
#A1A9CB
accent
#6ED058
background
#FDFBF8
surface
#FAF7F0
border
#D3D0CB
text
#14120C
muted
#83817D