#BAB44A#BAB44A
#BAB44A is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.4% C 0.127 H 106.0°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB44A |
|---|---|
| RGB | rgb(186, 180, 74) |
| HSL | hsl(57, 45%, 51%) |
| HSV | hsv(57, 60%, 73%) |
| CMYK | cmyk(0%, 3.2%, 60.2%, 27.1%) |
| CIE-LAB | lab(71.95, -11.35, 53.41) |
| CIE-LCH | lch(71.95, 54.60, 102.00°) |
| OKLab | oklab(75.42% -0.0352 0.1225) |
| OKLCH | oklch(75.42% 0.127 106) |
| XYZ | xyz(37.8082, 43.5773, 12.8969) |
| Luminance | 0.4358 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.71
Olive Yellow
#C2B709
ΔE00 5.54
Puke Yellow
#C2BE0E
ΔE00 5.94
Muddy Yellow
#BFAC05
ΔE00 6.20
Mustard Green
#A8B504
ΔE00 6.26
Vomit
#A2A415
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB44A #4A50BA
analogous
#BA7C4A #BAB44A #88BA4A
triadic
#BAB44A #4ABAB4 #B44ABA
tetradic
#BAB44A #4ABA7C #4A50BA #BA4A88
square
#BAB44A #4ABA7C #4A50BA #BA4A88
split-complementary
#BAB44A #4A88BA #7C4ABA
monochromatic
#646026 #908B37 #BAB44A #CBC676 #DCD9A3
Accessibility & contrast
On white
2.16
#BAB44A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.72
#BAB44A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB44A
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB44A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB44A | 1.00 | 2.16 | 9.72 | 9.72 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AE3E
Deuteranopia (green-blind)
#C5B250
Tritanopia (blue-blind)
#C7A99D
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #bab44a; /* rgb */ color: rgb(186, 180, 74); /* oklch */ color: oklch(75.4% 0.127 106.0);
Tailwind
colors: {
custom: {
50: '#d1ca81',
500: '#bab44a',
950: '#000000',
},
}SCSS
$custom: #bab44a; $custom-light: #d1ca81; $custom-dark: #000000;
JSON
{
"hex": "#bab44a",
"rgb": {
"r": 186,
"g": 180,
"b": 74
},
"hsl": {
"h": 56.786,
"s": 44.8,
"l": 50.98
},
"oklch": {
"l": 0.75423,
"c": 0.12748,
"h": 106
},
"luminance": 0.43576
}Semantic roles & 50–950 ramp
primary
#BAB44A
secondary
#979AC9
accent
#5AD553
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C