#B8A76B#B8A76B
#B8A76B is a light, moderate yellow. Relative luminance 0.389; OKLCH L 72.9% C 0.081 H 94.1°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).
Color values
| HEX | #B8A76B |
|---|---|
| RGB | rgb(184, 167, 107) |
| HSL | hsl(47, 35%, 57%) |
| HSV | hsv(47, 42%, 72%) |
| CMYK | cmyk(0%, 9.2%, 41.8%, 27.8%) |
| CIE-LAB | lab(68.67, -2.40, 33.24) |
| CIE-LCH | lch(68.67, 33.33, 94.13°) |
| OKLab | oklab(72.91% -0.0059 0.0813) |
| OKLCH | oklch(72.91% 0.081 94.1) |
| XYZ | xyz(36.2406, 38.8906, 19.5047) |
| Luminance | 0.3889 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 3.96
Sandy Brown
#C4A661
ΔE00 4.24
Sandstone
#C9AE74
ΔE00 4.28
Khaki (survey)
#AAA662
ΔE00 4.69
Desert
#CCAD60
ΔE00 5.45
Toupe
#C7AC7D
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8A76B #6B7CB8
analogous
#B8816B #B8A76B #A3B86B
triadic
#B8A76B #6BB8A7 #A76BB8
tetradic
#B8A76B #6BB881 #6B7CB8 #B86BA3
square
#B8A76B #6BB881 #6B7CB8 #B86BA3
split-complementary
#B8A76B #6BA3B8 #816BB8
monochromatic
#726537 #9B894B #B8A76B #CCC094 #E0D8BE
Accessibility & contrast
On white
2.39
#B8A76B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.78
#B8A76B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8A76B
8.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8A76B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8A76B | 1.00 | 2.39 | 8.78 | 8.78 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B3A466
Deuteranopia (green-blind)
#B7AA6D
Tritanopia (blue-blind)
#C39E98
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #b8a76b; /* rgb */ color: rgb(184, 167, 107); /* oklch */ color: oklch(72.9% 0.081 94.1);
Tailwind
colors: {
custom: {
50: '#cfc196',
500: '#b8a76b',
950: '#000000',
},
}SCSS
$custom: #b8a76b; $custom-light: #cfc196; $custom-dark: #000000;
JSON
{
"hex": "#b8a76b",
"rgb": {
"r": 184,
"g": 167,
"b": 107
},
"hsl": {
"h": 46.753,
"s": 35.16,
"l": 57.059
},
"oklch": {
"l": 0.72914,
"c": 0.08147,
"h": 94.1
},
"luminance": 0.38889
}Semantic roles & 50–950 ramp
primary
#B8A76B
secondary
#B0B7CF
accent
#75CB5D
background
#FCFBF9
surface
#F9F7F2
border
#D2D0CC
text
#14120D
muted
#82817E