#BAB53A#BAB53A
#BAB53A is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.5% C 0.141 H 107.0°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB53A |
|---|---|
| RGB | rgb(186, 181, 58) |
| HSL | hsl(58, 52%, 48%) |
| HSV | hsv(58, 69%, 73%) |
| CMYK | cmyk(0%, 2.7%, 68.8%, 27.1%) |
| CIE-LAB | lab(72.09, -12.85, 60.23) |
| CIE-LCH | lch(72.09, 61.59, 102.05°) |
| OKLab | oklab(75.5% -0.0412 0.1345) |
| OKLCH | oklch(75.5% 0.141 107) |
| XYZ | xyz(37.5387, 43.7936, 10.4778) |
| Luminance | 0.4379 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 3.85
Puke Yellow
#C2BE0E
ΔE00 4.19
Mustard Green
#A8B504
ΔE00 4.90
Vomit Yellow
#C7C10C
ΔE00 4.96
Muddy Yellow
#BFAC05
ΔE00 5.15
Snot
#ACBB0D
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB53A #3A3FBA
analogous
#BA753A #BAB53A #7FBA3A
triadic
#BAB53A #3ABAB5 #B53ABA
tetradic
#BAB53A #3ABA75 #3A3FBA #BA3A7F
square
#BAB53A #3ABA75 #3A3FBA #BA3A7F
split-complementary
#BAB53A #3A7FBA #753ABA
monochromatic
#5D5A1D #8B882B #BAB53A #CECA63 #DDDA92
Accessibility & contrast
On white
2.15
#BAB53A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.76
#BAB53A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB53A
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB53A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB53A | 1.00 | 2.15 | 9.76 | 9.76 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AE27
Deuteranopia (green-blind)
#C7B342
Tritanopia (blue-blind)
#C7A99C
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #bab53a; /* rgb */ color: rgb(186, 181, 58); /* oklch */ color: oklch(75.5% 0.141 107.0);
Tailwind
colors: {
custom: {
50: '#d2ca78',
500: '#bab53a',
950: '#000000',
},
}SCSS
$custom: #bab53a; $custom-light: #d2ca78; $custom-dark: #000000;
JSON
{
"hex": "#bab53a",
"rgb": {
"r": 186,
"g": 181,
"b": 58
},
"hsl": {
"h": 57.656,
"s": 52.459,
"l": 47.843
},
"oklch": {
"l": 0.75498,
"c": 0.14065,
"h": 107
},
"luminance": 0.43792
}Semantic roles & 50–950 ramp
primary
#BAB53A
secondary
#888AC8
accent
#52DC4C
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#151309
muted
#83827B