#BAB636#BAB636
#BAB636 is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.7% C 0.144 H 107.6°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB636 |
|---|---|
| RGB | rgb(186, 182, 54) |
| HSL | hsl(58, 55%, 47%) |
| HSV | hsv(58, 71%, 73%) |
| CMYK | cmyk(0%, 2.2%, 71%, 27.1%) |
| CIE-LAB | lab(72.34, -13.57, 61.98) |
| CIE-LCH | lch(72.34, 63.45, 102.35°) |
| OKLab | oklab(75.69% -0.0436 0.1375) |
| OKLCH | oklch(75.69% 0.144 107.6) |
| XYZ | xyz(37.6449, 44.1626, 10.0306) |
| Luminance | 0.4416 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 3.55
Puke Yellow
#C2BE0E
ΔE00 3.70
Vomit Yellow
#C7C10C
ΔE00 4.52
Mustard Green
#A8B504
ΔE00 4.52
Snot
#ACBB0D
ΔE00 4.76
Muddy Yellow
#BFAC05
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB636 #363ABA
analogous
#BA7436 #BAB636 #7CBA36
triadic
#BAB636 #36BAB6 #B636BA
tetradic
#BAB636 #36BA74 #363ABA #BA367C
square
#BAB636 #36BA74 #363ABA #BA367C
split-complementary
#BAB636 #367CBA #7436BA
monochromatic
#5B591A #8B8828 #BAB636 #D0CD5D #DEDB8D
Accessibility & contrast
On white
2.14
#BAB636 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.83
#BAB636 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB636
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB636 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB636 | 1.00 | 2.14 | 9.83 | 9.83 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AF20
Deuteranopia (green-blind)
#C8B43F
Tritanopia (blue-blind)
#C7AA9D
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #bab636; /* rgb */ color: rgb(186, 182, 54); /* oklch */ color: oklch(75.7% 0.144 107.6);
Tailwind
colors: {
custom: {
50: '#d2cb76',
500: '#bab636',
950: '#000000',
},
}SCSS
$custom: #bab636; $custom-light: #d2cb76; $custom-dark: #000000;
JSON
{
"hex": "#bab636",
"rgb": {
"r": 186,
"g": 182,
"b": 54
},
"hsl": {
"h": 58.182,
"s": 55,
"l": 47.059
},
"oklch": {
"l": 0.75686,
"c": 0.14422,
"h": 107.6
},
"luminance": 0.44161
}Semantic roles & 50–950 ramp
primary
#BAB636
secondary
#8486C8
accent
#4EDE49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B