#B8A562#B8A562
#B8A562 is a light, moderate yellow. Relative luminance 0.380; OKLCH L 72.3% C 0.090 H 94.1°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).
Color values
| HEX | #B8A562 |
|---|---|
| RGB | rgb(184, 165, 98) |
| HSL | hsl(47, 38%, 55%) |
| HSV | hsv(47, 47%, 72%) |
| CMYK | cmyk(0%, 10.3%, 46.7%, 27.8%) |
| CIE-LAB | lab(68.01, -2.27, 37.11) |
| CIE-LCH | lch(68.01, 37.18, 93.50°) |
| OKLab | oklab(72.35% -0.0063 0.0895) |
| OKLCH | oklch(72.35% 0.09 94.1) |
| XYZ | xyz(35.4279, 37.9838, 17.0184) |
| Luminance | 0.3798 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Brown
#C4A661
ΔE00 3.57
Sandstone
#C9AE74
ΔE00 4.73
Desert
#CCAD60
ΔE00 4.76
Khaki (survey)
#AAA662
ΔE00 4.82
Sand
#C2B280
ΔE00 5.33
Tan (survey)
#D1B26F
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8A562 #6275B8
analogous
#B87A62 #B8A562 #A0B862
triadic
#B8A562 #62B8A5 #A562B8
tetradic
#B8A562 #62B87A #6275B8 #B862A0
square
#B8A562 #62B87A #6275B8 #B862A0
split-complementary
#B8A562 #62A0B8 #7A62B8
monochromatic
#6E6132 #988645 #B8A562 #CBBD8C #DED5B6
Accessibility & contrast
On white
2.44
#B8A562 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.60
#B8A562 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8A562
8.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8A562 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8A562 | 1.00 | 2.44 | 8.60 | 8.60 |
| #FFFFFF | 2.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B2A25D
Deuteranopia (green-blind)
#B7A865
Tritanopia (blue-blind)
#C49C95
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #b8a562; /* rgb */ color: rgb(184, 165, 98); /* oklch */ color: oklch(72.3% 0.090 94.1);
Tailwind
colors: {
custom: {
50: '#cfbf90',
500: '#b8a562',
950: '#000000',
},
}SCSS
$custom: #b8a562; $custom-light: #cfbf90; $custom-dark: #000000;
JSON
{
"hex": "#b8a562",
"rgb": {
"r": 184,
"g": 165,
"b": 98
},
"hsl": {
"h": 46.744,
"s": 37.719,
"l": 55.294
},
"oklch": {
"l": 0.72347,
"c": 0.08971,
"h": 94.1
},
"luminance": 0.37982
}Semantic roles & 50–950 ramp
primary
#B8A562
secondary
#A9B1CD
accent
#74CE5A
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#14120C
muted
#82817D