#B8A249#B8A249
#B8A249 is a light, moderate yellow. Relative luminance 0.365; OKLCH L 71.4% C 0.112 H 95.5°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).
Color values
| HEX | #B8A249 |
|---|---|
| RGB | rgb(184, 162, 73) |
| HSL | hsl(48, 44%, 50%) |
| HSV | hsv(48, 60%, 72%) |
| CMYK | cmyk(0%, 12%, 60.3%, 27.8%) |
| CIE-LAB | lab(66.91, -2.81, 48.23) |
| CIE-LCH | lch(66.91, 48.32, 93.34°) |
| OKLab | oklab(71.38% -0.0108 0.1114) |
| OKLCH | oklch(71.38% 0.112 95.5) |
| XYZ | xyz(33.8915, 36.5136, 11.5647) |
| Luminance | 0.3651 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Brown
#C4A661
ΔE00 4.96
Desert
#CCAD60
ΔE00 5.25
Brown Yellow
#B29705
ΔE00 5.99
Ocher
#BF9B0C
ΔE00 6.24
Dark Gold
#B59410
ΔE00 6.34
Khaki (survey)
#AAA662
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8A249 #495FB8
analogous
#B86A49 #B8A249 #97B849
triadic
#B8A249 #49B8A2 #A249B8
tetradic
#B8A249 #49B86A #495FB8 #B84997
square
#B8A249 #49B86A #495FB8 #B84997
split-complementary
#B8A249 #4997B8 #6A49B8
monochromatic
#615526 #8D7C37 #B8A249 #C9B875 #DACFA1
Accessibility & contrast
On white
2.53
#B8A249 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.30
#B8A249 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8A249
8.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8A249 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8A249 | 1.00 | 2.53 | 8.30 | 8.30 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19F40
Deuteranopia (green-blind)
#B7A64D
Tritanopia (blue-blind)
#C6978E
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #b8a249; /* rgb */ color: rgb(184, 162, 73); /* oklch */ color: oklch(71.4% 0.112 95.5);
Tailwind
colors: {
custom: {
50: '#d0bd7f',
500: '#b8a249',
950: '#000000',
},
}SCSS
$custom: #b8a249; $custom-light: #d0bd7f; $custom-dark: #000000;
JSON
{
"hex": "#b8a249",
"rgb": {
"r": 184,
"g": 162,
"b": 73
},
"hsl": {
"h": 48.108,
"s": 43.874,
"l": 50.392
},
"oklch": {
"l": 0.71382,
"c": 0.11192,
"h": 95.5
},
"luminance": 0.36512
}Semantic roles & 50–950 ramp
primary
#B8A249
secondary
#969FC7
accent
#6DD454
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C