#B4AB49#B4AB49
#B4AB49 is a light, moderate yellow. Relative luminance 0.393; OKLCH L 72.9% C 0.120 H 104.1°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).
Color values
| HEX | #B4AB49 |
|---|---|
| RGB | rgb(180, 171, 73) |
| HSL | hsl(55, 42%, 50%) |
| HSV | hsv(55, 59%, 71%) |
| CMYK | cmyk(0%, 5%, 59.4%, 29.4%) |
| CIE-LAB | lab(68.98, -9.30, 50.44) |
| CIE-LCH | lch(68.98, 51.29, 100.45°) |
| OKLab | oklab(72.94% -0.0291 0.1162) |
| OKLCH | oklch(72.94% 0.12 104.1) |
| XYZ | xyz(34.5891, 39.3114, 12.0679) |
| Luminance | 0.3931 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 5.06
Khaki (survey)
#AAA662
ΔE00 5.38
Vomit
#A2A415
ΔE00 5.59
Puke
#A5A502
ΔE00 5.80
Muddy Yellow
#BFAC05
ΔE00 6.25
Olive Yellow
#C2B709
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4AB49 #4952B4
analogous
#B47549 #B4AB49 #88B449
triadic
#B4AB49 #49B4AB #AB49B4
tetradic
#B4AB49 #49B475 #4952B4 #B44988
square
#B4AB49 #49B475 #4952B4 #B44988
split-complementary
#B4AB49 #4988B4 #7549B4
monochromatic
#5D5826 #888237 #B4AB49 #C7C074 #D8D39F
Accessibility & contrast
On white
2.37
#B4AB49 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.86
#B4AB49 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4AB49
8.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4AB49 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4AB49 | 1.00 | 2.37 | 8.86 | 8.86 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A63E
Deuteranopia (green-blind)
#BCAB4E
Tritanopia (blue-blind)
#C0A096
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #b4ab49; /* rgb */ color: rgb(180, 171, 73); /* oklch */ color: oklch(72.9% 0.120 104.1);
Tailwind
colors: {
custom: {
50: '#cdc37f',
500: '#b4ab49',
950: '#000000',
},
}SCSS
$custom: #b4ab49; $custom-light: #cdc37f; $custom-dark: #000000;
JSON
{
"hex": "#b4ab49",
"rgb": {
"r": 180,
"g": 171,
"b": 73
},
"hsl": {
"h": 54.953,
"s": 42.292,
"l": 49.608
},
"oklch": {
"l": 0.72935,
"c": 0.1198,
"h": 104.1
},
"luminance": 0.3931
}Semantic roles & 50–950 ramp
primary
#B4AB49
secondary
#9498C5
accent
#60D256
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#14120A
muted
#82817C