#BAB33A#BAB33A
#BAB33A is a light, vivid yellow. Relative luminance 0.430; OKLCH L 75.1% C 0.139 H 106.0°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB33A |
|---|---|
| RGB | rgb(186, 179, 58) |
| HSL | hsl(57, 52%, 48%) |
| HSV | hsv(57, 69%, 73%) |
| CMYK | cmyk(0%, 3.8%, 68.8%, 27.1%) |
| CIE-LAB | lab(71.55, -11.83, 59.68) |
| CIE-LCH | lch(71.55, 60.84, 101.21°) |
| OKLab | oklab(75.06% -0.0383 0.1333) |
| OKLCH | oklch(75.06% 0.139 106) |
| XYZ | xyz(37.1349, 42.9861, 10.3432) |
| Luminance | 0.4299 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 3.88
Puke Yellow
#C2BE0E
ΔE00 4.58
Muddy Yellow
#BFAC05
ΔE00 4.69
Puke
#A5A502
ΔE00 5.25
Vomit Yellow
#C7C10C
ΔE00 5.33
Mustard Green
#A8B504
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB33A #3A41BA
analogous
#BA733A #BAB33A #81BA3A
triadic
#BAB33A #3ABAB3 #B33ABA
tetradic
#BAB33A #3ABA73 #3A41BA #BA3A81
square
#BAB33A #3ABA73 #3A41BA #BA3A81
split-complementary
#BAB33A #3A81BA #733ABA
monochromatic
#5D591D #8B862B #BAB33A #CEC863 #DDD992
Accessibility & contrast
On white
2.19
#BAB33A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.60
#BAB33A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB33A
9.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB33A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB33A | 1.00 | 2.19 | 9.60 | 9.60 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AC28
Deuteranopia (green-blind)
#C5B242
Tritanopia (blue-blind)
#C7A79B
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #bab33a; /* rgb */ color: rgb(186, 179, 58); /* oklch */ color: oklch(75.1% 0.139 106.0);
Tailwind
colors: {
custom: {
50: '#d2c977',
500: '#bab33a',
950: '#000000',
},
}SCSS
$custom: #bab33a; $custom-light: #d2c977; $custom-dark: #000000;
JSON
{
"hex": "#bab33a",
"rgb": {
"r": 186,
"g": 179,
"b": 58
},
"hsl": {
"h": 56.719,
"s": 52.459,
"l": 47.843
},
"oklch": {
"l": 0.75064,
"c": 0.13872,
"h": 106
},
"luminance": 0.42985
}Semantic roles & 50–950 ramp
primary
#BAB33A
secondary
#888BC8
accent
#54DC4C
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#151309
muted
#83827B