#BAB73A#BAB73A
#BAB73A is a light, vivid yellow. Relative luminance 0.446; OKLCH L 75.9% C 0.143 H 108.0°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB73A |
|---|---|
| RGB | rgb(186, 183, 58) |
| HSL | hsl(59, 52%, 48%) |
| HSV | hsv(59, 69%, 73%) |
| CMYK | cmyk(0%, 1.6%, 68.8%, 27.1%) |
| CIE-LAB | lab(72.64, -13.88, 60.77) |
| CIE-LCH | lch(72.64, 62.34, 102.86°) |
| OKLab | oklab(75.93% -0.0441 0.1356) |
| OKLCH | oklch(75.93% 0.143 108) |
| XYZ | xyz(37.9483, 44.6128, 10.6143) |
| Luminance | 0.4461 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Yellow
#C2BE0E
ΔE00 3.89
Olive Yellow
#C2B709
ΔE00 3.95
Mustard Green
#A8B504
ΔE00 4.53
Snot
#ACBB0D
ΔE00 4.68
Vomit Yellow
#C7C10C
ΔE00 4.68
Bile
#B5C306
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB73A #3A3DBA
analogous
#BA773A #BAB73A #7DBA3A
triadic
#BAB73A #3ABAB7 #B73ABA
tetradic
#BAB73A #3ABA77 #3A3DBA #BA3A7D
square
#BAB73A #3ABA77 #3A3DBA #BA3A7D
split-complementary
#BAB73A #3A7DBA #773ABA
monochromatic
#5D5B1D #8B892B #BAB73A #CECC63 #DDDB92
Accessibility & contrast
On white
2.12
#BAB73A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.92
#BAB73A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB73A
9.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB73A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB73A | 1.00 | 2.12 | 9.92 | 9.92 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B026
Deuteranopia (green-blind)
#C8B443
Tritanopia (blue-blind)
#C7AB9E
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #bab73a; /* rgb */ color: rgb(186, 183, 58); /* oklch */ color: oklch(75.9% 0.143 108.0);
Tailwind
colors: {
custom: {
50: '#d2cc78',
500: '#bab73a',
950: '#000000',
},
}SCSS
$custom: #bab73a; $custom-light: #d2cc78; $custom-dark: #000000;
JSON
{
"hex": "#bab73a",
"rgb": {
"r": 186,
"g": 183,
"b": 58
},
"hsl": {
"h": 58.594,
"s": 52.459,
"l": 47.843
},
"oklch": {
"l": 0.75933,
"c": 0.14261,
"h": 108
},
"luminance": 0.44612
}Semantic roles & 50–950 ramp
primary
#BAB73A
secondary
#8889C8
accent
#4FDC4C
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#151309
muted
#83827B