#B5AB49#B5AB49
#B5AB49 is a light, moderate yellow. Relative luminance 0.394; OKLCH L 73.0% C 0.120 H 103.5°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).
Color values
| HEX | #B5AB49 |
|---|---|
| RGB | rgb(181, 171, 73) |
| HSL | hsl(54, 43%, 50%) |
| HSV | hsv(54, 60%, 71%) |
| CMYK | cmyk(0%, 5.5%, 59.7%, 29%) |
| CIE-LAB | lab(69.06, -8.87, 50.56) |
| CIE-LCH | lch(69.06, 51.33, 99.95°) |
| OKLab | oklab(73.02% -0.0279 0.1165) |
| OKLCH | oklch(73.02% 0.12 103.5) |
| XYZ | xyz(34.8228, 39.4319, 12.0788) |
| Luminance | 0.3943 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 5.09
Khaki (survey)
#AAA662
ΔE00 5.49
Vomit
#A2A415
ΔE00 5.74
Puke
#A5A502
ΔE00 5.91
Muddy Yellow
#BFAC05
ΔE00 6.09
Olive Yellow
#C2B709
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5AB49 #4953B5
analogous
#B57549 #B5AB49 #89B549
triadic
#B5AB49 #49B5AB #AB49B5
tetradic
#B5AB49 #49B575 #4953B5 #B54989
square
#B5AB49 #49B575 #4953B5 #B54989
split-complementary
#B5AB49 #4989B5 #7549B5
monochromatic
#5E5926 #898237 #B5AB49 #C7BF74 #D9D3A0
Accessibility & contrast
On white
2.36
#B5AB49 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.89
#B5AB49 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5AB49
8.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5AB49 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5AB49 | 1.00 | 2.36 | 8.89 | 8.89 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A63E
Deuteranopia (green-blind)
#BCAB4E
Tritanopia (blue-blind)
#C2A096
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #b5ab49; /* rgb */ color: rgb(181, 171, 73); /* oklch */ color: oklch(73.0% 0.120 103.5);
Tailwind
colors: {
custom: {
50: '#cec37f',
500: '#b5ab49',
950: '#000000',
},
}SCSS
$custom: #b5ab49; $custom-light: #cec37f; $custom-dark: #000000;
JSON
{
"hex": "#b5ab49",
"rgb": {
"r": 181,
"g": 171,
"b": 73
},
"hsl": {
"h": 54.444,
"s": 42.52,
"l": 49.804
},
"oklch": {
"l": 0.73025,
"c": 0.11976,
"h": 103.5
},
"luminance": 0.39431
}Semantic roles & 50–950 ramp
primary
#B5AB49
secondary
#9499C5
accent
#61D255
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120A
muted
#83817C