#B5A549#B5A549
#B5A549 is a light, moderate yellow. Relative luminance 0.372; OKLCH L 71.7% C 0.114 H 99.5°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).
Color values
| HEX | #B5A549 |
|---|---|
| RGB | rgb(181, 165, 73) |
| HSL | hsl(51, 43%, 50%) |
| HSV | hsv(51, 60%, 71%) |
| CMYK | cmyk(0%, 8.8%, 59.7%, 29%) |
| CIE-LAB | lab(67.44, -5.71, 48.75) |
| CIE-LCH | lch(67.44, 49.08, 96.68°) |
| OKLab | oklab(71.74% -0.0189 0.1126) |
| OKLCH | oklch(71.74% 0.114 99.5) |
| XYZ | xyz(33.7151, 37.2165, 11.7096) |
| Luminance | 0.3721 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 5.51
Darkkhaki
#BDB76B
ΔE00 6.26
Desert
#CCAD60
ΔE00 6.35
Sandy Brown
#C4A661
ΔE00 6.36
Muddy Yellow
#BFAC05
ΔE00 6.48
Brown Yellow
#B29705
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5A549 #4959B5
analogous
#B56F49 #B5A549 #8FB549
triadic
#B5A549 #49B5A5 #A549B5
tetradic
#B5A549 #49B56F #4959B5 #B5498F
square
#B5A549 #49B56F #4959B5 #B5498F
split-complementary
#B5A549 #498FB5 #6F49B5
monochromatic
#5E5526 #897D37 #B5A549 #C7BB74 #D9D0A0
Accessibility & contrast
On white
2.49
#B5A549 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.44
#B5A549 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5A549
8.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5A549 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5A549 | 1.00 | 2.49 | 8.44 | 8.44 |
| #FFFFFF | 2.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B3A13F
Deuteranopia (green-blind)
#B8A74E
Tritanopia (blue-blind)
#C29A91
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #b5a549; /* rgb */ color: rgb(181, 165, 73); /* oklch */ color: oklch(71.7% 0.114 99.5);
Tailwind
colors: {
custom: {
50: '#cebf7f',
500: '#b5a549',
950: '#000000',
},
}SCSS
$custom: #b5a549; $custom-light: #cebf7f; $custom-dark: #000000;
JSON
{
"hex": "#b5a549",
"rgb": {
"r": 181,
"g": 165,
"b": 73
},
"hsl": {
"h": 51.111,
"s": 42.52,
"l": 49.804
},
"oklch": {
"l": 0.71736,
"c": 0.11416,
"h": 99.5
},
"luminance": 0.37215
}Semantic roles & 50–950 ramp
primary
#B5A549
secondary
#949CC5
accent
#68D255
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C