#B8A666#B8A666
#B8A666 is a light, moderate yellow. Relative luminance 0.384; OKLCH L 72.6% C 0.086 H 94.2°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).
Color values
| HEX | #B8A666 |
|---|---|
| RGB | rgb(184, 166, 102) |
| HSL | hsl(47, 37%, 56%) |
| HSV | hsv(47, 45%, 72%) |
| CMYK | cmyk(0%, 9.8%, 44.6%, 27.8%) |
| CIE-LAB | lab(68.33, -2.40, 35.43) |
| CIE-LCH | lch(68.33, 35.51, 93.87°) |
| OKLab | oklab(72.62% -0.0063 0.086) |
| OKLCH | oklch(72.62% 0.086 94.2) |
| XYZ | xyz(35.8026, 38.4234, 18.0983) |
| Luminance | 0.3842 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Brown
#C4A661
ΔE00 3.83
Sandstone
#C9AE74
ΔE00 4.49
Khaki (survey)
#AAA662
ΔE00 4.65
Sand
#C2B280
ΔE00 4.71
Desert
#CCAD60
ΔE00 5.02
Tan (survey)
#D1B26F
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8A666 #6678B8
analogous
#B87D66 #B8A666 #A1B866
triadic
#B8A666 #66B8A6 #A666B8
tetradic
#B8A666 #66B87D #6678B8 #B866A1
square
#B8A666 #66B87D #6678B8 #B866A1
split-complementary
#B8A666 #66A1B8 #7D66B8
monochromatic
#706334 #9A8747 #B8A666 #CBBE90 #DFD7BA
Accessibility & contrast
On white
2.42
#B8A666 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.68
#B8A666 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8A666
8.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8A666 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8A666 | 1.00 | 2.42 | 8.68 | 8.68 |
| #FFFFFF | 2.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B2A361
Deuteranopia (green-blind)
#B7A968
Tritanopia (blue-blind)
#C39D96
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #b8a666; /* rgb */ color: rgb(184, 166, 102); /* oklch */ color: oklch(72.6% 0.086 94.2);
Tailwind
colors: {
custom: {
50: '#cfc092',
500: '#b8a666',
950: '#000000',
},
}SCSS
$custom: #b8a666; $custom-light: #cfc092; $custom-dark: #000000;
JSON
{
"hex": "#b8a666",
"rgb": {
"r": 184,
"g": 166,
"b": 102
},
"hsl": {
"h": 46.829,
"s": 36.607,
"l": 56.078
},
"oklch": {
"l": 0.72621,
"c": 0.0862,
"h": 94.2
},
"luminance": 0.38422
}Semantic roles & 50–950 ramp
primary
#B8A666
secondary
#ACB3CE
accent
#74CD5B
background
#FCFBF9
surface
#F9F7F1
border
#D2D0CB
text
#14120D
muted
#82817E