#BAB753#BAB753
#BAB753 is a light, vivid yellow. Relative luminance 0.449; OKLCH L 76.2% C 0.123 H 107.4°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB753 |
|---|---|
| RGB | rgb(186, 183, 83) |
| HSL | hsl(58, 43%, 53%) |
| HSV | hsv(58, 55%, 73%) |
| CMYK | cmyk(0%, 1.6%, 55.4%, 27.1%) |
| CIE-LAB | lab(72.85, -12.22, 50.32) |
| CIE-LCH | lch(72.85, 51.78, 103.66°) |
| OKLab | oklab(76.17% -0.0367 0.1171) |
| OKLCH | oklch(76.17% 0.123 107.4) |
| XYZ | xyz(38.7456, 44.9317, 14.8136) |
| Luminance | 0.4493 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.81
Puke Yellow
#C2BE0E
ΔE00 6.62
Olive Yellow
#C2B709
ΔE00 6.62
Mustard Green
#A8B504
ΔE00 6.64
Light Olive
#ACBF69
ΔE00 6.67
Snot
#ACBB0D
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB753 #5356BA
analogous
#BA8353 #BAB753 #8ABA53
triadic
#BAB753 #53BAB7 #B753BA
tetradic
#BAB753 #53BA83 #5356BA #BA538A
square
#BAB753 #53BA83 #5356BA #BA538A
split-complementary
#BAB753 #538ABA #8353BA
monochromatic
#69672A #94923B #BAB753 #CCC97F #DDDCAA
Accessibility & contrast
On white
2.10
#BAB753 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.99
#BAB753 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB753
9.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB753 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB753 | 1.00 | 2.10 | 9.99 | 9.99 |
| #FFFFFF | 2.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5B149
Deuteranopia (green-blind)
#C7B558
Tritanopia (blue-blind)
#C6ACA1
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #bab753; /* rgb */ color: rgb(186, 183, 83); /* oklch */ color: oklch(76.2% 0.123 107.4);
Tailwind
colors: {
custom: {
50: '#d1cc87',
500: '#bab753',
950: '#000000',
},
}SCSS
$custom: #bab753; $custom-light: #d1cc87; $custom-dark: #000000;
JSON
{
"hex": "#bab753",
"rgb": {
"r": 186,
"g": 183,
"b": 83
},
"hsl": {
"h": 58.252,
"s": 42.739,
"l": 52.745
},
"oklch": {
"l": 0.76169,
"c": 0.12267,
"h": 107.4
},
"luminance": 0.44931
}Semantic roles & 50–950 ramp
primary
#BAB753
secondary
#9E9FCB
accent
#59D355
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130B
muted
#83827C