#BAB64A#BAB64A
#BAB64A is a light, vivid yellow. Relative luminance 0.444; OKLCH L 75.9% C 0.130 H 107.1°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB64A |
|---|---|
| RGB | rgb(186, 182, 74) |
| HSL | hsl(58, 45%, 51%) |
| HSV | hsv(58, 60%, 73%) |
| CMYK | cmyk(0%, 2.2%, 60.2%, 27.1%) |
| CIE-LAB | lab(72.49, -12.38, 54.00) |
| CIE-LCH | lch(72.49, 55.40, 102.91°) |
| OKLab | oklab(75.86% -0.0381 0.1238) |
| OKLCH | oklch(75.86% 0.13 107.1) |
| XYZ | xyz(38.2149, 44.3906, 13.0325) |
| Luminance | 0.4439 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.85
Olive Yellow
#C2B709
ΔE00 5.52
Puke Yellow
#C2BE0E
ΔE00 5.63
Mustard Green
#A8B504
ΔE00 5.87
Snot
#ACBB0D
ΔE00 6.06
Vomit Yellow
#C7C10C
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB64A #4A4EBA
analogous
#BA7E4A #BAB64A #86BA4A
triadic
#BAB64A #4ABAB6 #B64ABA
tetradic
#BAB64A #4ABA7E #4A4EBA #BA4A86
square
#BAB64A #4ABA7E #4A4EBA #BA4A86
split-complementary
#BAB64A #4A86BA #7E4ABA
monochromatic
#646126 #908D37 #BAB64A #CBC876 #DCDAA3
Accessibility & contrast
On white
2.13
#BAB64A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.88
#BAB64A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB64A
9.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB64A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB64A | 1.00 | 2.13 | 9.88 | 9.88 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AF3E
Deuteranopia (green-blind)
#C6B450
Tritanopia (blue-blind)
#C7AB9F
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #bab64a; /* rgb */ color: rgb(186, 182, 74); /* oklch */ color: oklch(75.9% 0.130 107.1);
Tailwind
colors: {
custom: {
50: '#d1cb81',
500: '#bab64a',
950: '#000000',
},
}SCSS
$custom: #bab64a; $custom-light: #d1cb81; $custom-dark: #000000;
JSON
{
"hex": "#bab64a",
"rgb": {
"r": 186,
"g": 182,
"b": 74
},
"hsl": {
"h": 57.857,
"s": 44.8,
"l": 50.98
},
"oklch": {
"l": 0.75856,
"c": 0.12953,
"h": 107.1
},
"luminance": 0.44389
}Semantic roles & 50–950 ramp
primary
#BAB64A
secondary
#9799C9
accent
#58D553
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C