#B5AA49#B5AA49
#B5AA49 is a light, moderate yellow. Relative luminance 0.391; OKLCH L 72.8% C 0.119 H 102.9°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #B5AA49 |
|---|---|
| RGB | rgb(181, 170, 73) |
| HSL | hsl(54, 43%, 50%) |
| HSV | hsv(54, 60%, 71%) |
| CMYK | cmyk(0%, 6.1%, 59.7%, 29%) |
| CIE-LAB | lab(68.79, -8.35, 50.26) |
| CIE-LCH | lch(68.79, 50.95, 99.43°) |
| OKLab | oklab(72.81% -0.0265 0.1158) |
| OKLCH | oklch(72.81% 0.119 102.9) |
| XYZ | xyz(34.6346, 39.0555, 12.0161) |
| Luminance | 0.3905 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 5.23
Khaki (survey)
#AAA662
ΔE00 5.43
Vomit
#A2A415
ΔE00 5.86
Puke
#A5A502
ΔE00 6.02
Muddy Yellow
#BFAC05
ΔE00 6.09
Olive Yellow
#C2B709
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5AA49 #4954B5
analogous
#B57449 #B5AA49 #8AB549
triadic
#B5AA49 #49B5AA #AA49B5
tetradic
#B5AA49 #49B574 #4954B5 #B5498A
square
#B5AA49 #49B574 #4954B5 #B5498A
split-complementary
#B5AA49 #498AB5 #7449B5
monochromatic
#5E5826 #898137 #B5AA49 #C7BF74 #D9D3A0
Accessibility & contrast
On white
2.38
#B5AA49 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.81
#B5AA49 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5AA49
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5AA49 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5AA49 | 1.00 | 2.38 | 8.81 | 8.81 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A53F
Deuteranopia (green-blind)
#BCAA4E
Tritanopia (blue-blind)
#C29F95
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #b5aa49; /* rgb */ color: rgb(181, 170, 73); /* oklch */ color: oklch(72.8% 0.119 102.9);
Tailwind
colors: {
custom: {
50: '#cec37f',
500: '#b5aa49',
950: '#000000',
},
}SCSS
$custom: #b5aa49; $custom-light: #cec37f; $custom-dark: #000000;
JSON
{
"hex": "#b5aa49",
"rgb": {
"r": 181,
"g": 170,
"b": 73
},
"hsl": {
"h": 53.889,
"s": 42.52,
"l": 49.804
},
"oklch": {
"l": 0.72809,
"c": 0.11878,
"h": 102.9
},
"luminance": 0.39054
}Semantic roles & 50–950 ramp
primary
#B5AA49
secondary
#9499C5
accent
#62D255
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C