#BAB036#BAB036
#BAB036 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.4% C 0.139 H 104.6°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB036 |
|---|---|
| RGB | rgb(186, 176, 54) |
| HSL | hsl(55, 55%, 47%) |
| HSV | hsv(55, 71%, 73%) |
| CMYK | cmyk(0%, 5.4%, 71%, 27.1%) |
| CIE-LAB | lab(70.70, -10.48, 60.38) |
| CIE-LCH | lch(70.70, 61.28, 99.85°) |
| OKLab | oklab(74.39% -0.0349 0.1341) |
| OKLCH | oklch(74.39% 0.139 104.6) |
| XYZ | xyz(36.4424, 41.7575, 9.6297) |
| Luminance | 0.4176 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 3.81
Muddy Yellow
#BFAC05
ΔE00 3.82
Puke
#A5A502
ΔE00 4.93
Puke Yellow
#C2BE0E
ΔE00 5.02
Brownish Yellow
#C9B003
ΔE00 5.18
Vomit
#A2A415
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB036 #3640BA
analogous
#BA6E36 #BAB036 #82BA36
triadic
#BAB036 #36BAB0 #B036BA
tetradic
#BAB036 #36BA6E #3640BA #BA3682
square
#BAB036 #36BA6E #3640BA #BA3682
split-complementary
#BAB036 #3682BA #6E36BA
monochromatic
#5B561A #8B8328 #BAB036 #D0C75D #DED88D
Accessibility & contrast
On white
2.25
#BAB036 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.35
#BAB036 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB036
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB036 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB036 | 1.00 | 2.25 | 9.35 | 9.35 |
| #FFFFFF | 2.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AA22
Deuteranopia (green-blind)
#C3AF3E
Tritanopia (blue-blind)
#C8A498
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #bab036; /* rgb */ color: rgb(186, 176, 54); /* oklch */ color: oklch(74.4% 0.139 104.6);
Tailwind
colors: {
custom: {
50: '#d2c775',
500: '#bab036',
950: '#000000',
},
}SCSS
$custom: #bab036; $custom-light: #d2c775; $custom-dark: #000000;
JSON
{
"hex": "#bab036",
"rgb": {
"r": 186,
"g": 176,
"b": 54
},
"hsl": {
"h": 55.455,
"s": 55,
"l": 47.059
},
"oklch": {
"l": 0.74385,
"c": 0.13857,
"h": 104.6
},
"luminance": 0.41756
}Semantic roles & 50–950 ramp
primary
#BAB036
secondary
#8489C8
accent
#55DE49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B