#BAB149#BAB149
#BAB149 is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.8% C 0.125 H 104.4°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB149 |
|---|---|
| RGB | rgb(186, 177, 73) |
| HSL | hsl(55, 45%, 51%) |
| HSV | hsv(55, 61%, 73%) |
| CMYK | cmyk(0%, 4.8%, 60.8%, 27.1%) |
| CIE-LAB | lab(71.12, -9.87, 52.95) |
| CIE-LCH | lch(71.12, 53.86, 100.56°) |
| OKLab | oklab(74.77% -0.0311 0.1214) |
| OKLCH | oklch(74.77% 0.125 104.4) |
| XYZ | xyz(37.1757, 42.3657, 12.5212) |
| Luminance | 0.4236 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.81
Olive Yellow
#C2B709
ΔE00 5.64
Muddy Yellow
#BFAC05
ΔE00 5.69
Puke
#A5A502
ΔE00 6.17
Vomit
#A2A415
ΔE00 6.17
Puke Yellow
#C2BE0E
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB149 #4952BA
analogous
#BA7849 #BAB149 #8ABA49
triadic
#BAB149 #49BAB1 #B149BA
tetradic
#BAB149 #49BA78 #4952BA #BA498A
square
#BAB149 #49BA78 #4952BA #BA498A
split-complementary
#BAB149 #498ABA #7849BA
monochromatic
#635E26 #8F8836 #BAB149 #CBC475 #DCD7A2
Accessibility & contrast
On white
2.22
#BAB149 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.47
#BAB149 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB149
9.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB149 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB149 | 1.00 | 2.22 | 9.47 | 9.47 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFAB3D
Deuteranopia (green-blind)
#C3B04F
Tritanopia (blue-blind)
#C7A69B
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #bab149; /* rgb */ color: rgb(186, 177, 73); /* oklch */ color: oklch(74.8% 0.125 104.4);
Tailwind
colors: {
custom: {
50: '#d1c880',
500: '#bab149',
950: '#000000',
},
}SCSS
$custom: #bab149; $custom-light: #d1c880; $custom-dark: #000000;
JSON
{
"hex": "#bab149",
"rgb": {
"r": 186,
"g": 177,
"b": 73
},
"hsl": {
"h": 55.221,
"s": 45.02,
"l": 50.784
},
"oklch": {
"l": 0.74766,
"c": 0.12534,
"h": 104.4
},
"luminance": 0.42364
}Semantic roles & 50–950 ramp
primary
#BAB149
secondary
#969AC8
accent
#5DD553
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130A
muted
#83827C