#BAB141#BAB141
#BAB141 is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.7% C 0.132 H 104.7°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB141 |
|---|---|
| RGB | rgb(186, 177, 65) |
| HSL | hsl(56, 48%, 49%) |
| HSV | hsv(56, 65%, 73%) |
| CMYK | cmyk(0%, 4.8%, 65.1%, 27.1%) |
| CIE-LAB | lab(71.05, -10.39, 56.35) |
| CIE-LCH | lch(71.05, 57.30, 100.45°) |
| OKLab | oklab(74.69% -0.0335 0.1274) |
| OKLCH | oklch(74.69% 0.132 104.7) |
| XYZ | xyz(36.9274, 42.2664, 11.2131) |
| Luminance | 0.4227 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 4.73
Muddy Yellow
#BFAC05
ΔE00 4.89
Puke
#A5A502
ΔE00 5.55
Puke Yellow
#C2BE0E
ΔE00 5.63
Vomit
#A2A415
ΔE00 5.69
Darkkhaki
#BDB76B
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB141 #414ABA
analogous
#BA7541 #BAB141 #87BA41
triadic
#BAB141 #41BAB1 #B141BA
tetradic
#BAB141 #41BA75 #414ABA #BA4187
square
#BAB141 #41BA75 #414ABA #BA4187
split-complementary
#BAB141 #4187BA #7541BA
monochromatic
#5F5B21 #8D8631 #BAB141 #CCC56C #DCD79A
Accessibility & contrast
On white
2.22
#BAB141 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.45
#BAB141 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB141
9.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB141 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB141 | 1.00 | 2.22 | 9.45 | 9.45 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AB33
Deuteranopia (green-blind)
#C3B048
Tritanopia (blue-blind)
#C7A59A
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #bab141; /* rgb */ color: rgb(186, 177, 65); /* oklch */ color: oklch(74.7% 0.132 104.7);
Tailwind
colors: {
custom: {
50: '#d2c87b',
500: '#bab141',
950: '#000000',
},
}SCSS
$custom: #bab141; $custom-light: #d2c87b; $custom-dark: #000000;
JSON
{
"hex": "#bab141",
"rgb": {
"r": 186,
"g": 177,
"b": 65
},
"hsl": {
"h": 55.537,
"s": 48.207,
"l": 49.216
},
"oklch": {
"l": 0.74689,
"c": 0.13176,
"h": 104.7
},
"luminance": 0.42265
}Semantic roles & 50–950 ramp
primary
#BAB141
secondary
#8F93C8
accent
#5AD850
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C