#B8A95A#B8A95A
#B8A95A is a light, moderate yellow. Relative luminance 0.393; OKLCH L 73.1% C 0.102 H 98.8°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).
Color values
| HEX | #B8A95A |
|---|---|
| RGB | rgb(184, 169, 90) |
| HSL | hsl(50, 40%, 54%) |
| HSV | hsv(50, 51%, 72%) |
| CMYK | cmyk(0%, 8.2%, 51.1%, 27.8%) |
| CIE-LAB | lab(68.97, -5.16, 42.36) |
| CIE-LCH | lch(68.97, 42.68, 96.95°) |
| OKLab | oklab(73.08% -0.0155 0.1005) |
| OKLCH | oklch(73.08% 0.102 98.8) |
| XYZ | xyz(35.8017, 39.3058, 15.3718) |
| Luminance | 0.3930 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.18
Darkkhaki
#BDB76B
ΔE00 4.49
Sandy Brown
#C4A661
ΔE00 5.33
Desert
#CCAD60
ΔE00 5.40
Sandstone
#C9AE74
ΔE00 6.49
Sand
#C2B280
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8A95A #5A69B8
analogous
#B87A5A #B8A95A #98B85A
triadic
#B8A95A #5AB8A9 #A95AB8
tetradic
#B8A95A #5AB87A #5A69B8 #B85A98
square
#B8A95A #5AB87A #5A69B8 #B85A98
split-complementary
#B8A95A #5A98B8 #7A5AB8
monochromatic
#6A602E #958740 #B8A95A #CABF85 #DDD6B0
Accessibility & contrast
On white
2.37
#B8A95A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.86
#B8A95A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8A95A
8.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8A95A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8A95A | 1.00 | 2.37 | 8.86 | 8.86 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A553
Deuteranopia (green-blind)
#BBAB5D
Tritanopia (blue-blind)
#C49F97
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #b8a95a; /* rgb */ color: rgb(184, 169, 90); /* oklch */ color: oklch(73.1% 0.102 98.8);
Tailwind
colors: {
custom: {
50: '#cfc28a',
500: '#b8a95a',
950: '#000000',
},
}SCSS
$custom: #b8a95a; $custom-light: #cfc28a; $custom-dark: #000000;
JSON
{
"hex": "#b8a95a",
"rgb": {
"r": 184,
"g": 169,
"b": 90
},
"hsl": {
"h": 50.426,
"s": 39.831,
"l": 53.725
},
"oklch": {
"l": 0.73075,
"c": 0.10173,
"h": 98.8
},
"luminance": 0.39304
}Semantic roles & 50–950 ramp
primary
#B8A95A
secondary
#A3A9CB
accent
#6BD058
background
#FDFBF8
surface
#FAF7F0
border
#D3D0CB
text
#14120C
muted
#83817D