#BAB732#BAB732
#BAB732 is a light, vivid yellow. Relative luminance 0.445; OKLCH L 75.9% C 0.148 H 108.1°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB732 |
|---|---|
| RGB | rgb(186, 183, 50) |
| HSL | hsl(59, 58%, 46%) |
| HSV | hsv(59, 73%, 73%) |
| CMYK | cmyk(0%, 1.6%, 73.1%, 27.1%) |
| CIE-LAB | lab(72.59, -14.27, 63.64) |
| CIE-LCH | lch(72.59, 65.22, 102.64°) |
| OKLab | oklab(75.88% -0.046 0.1403) |
| OKLCH | oklch(75.88% 0.148 108.1) |
| XYZ | xyz(37.7603, 44.5376, 9.6245) |
| Luminance | 0.4454 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Yellow
#C2BE0E
ΔE00 3.26
Olive Yellow
#C2B709
ΔE00 3.34
Vomit Yellow
#C7C10C
ΔE00 4.12
Mustard Green
#A8B504
ΔE00 4.19
Snot
#ACBB0D
ΔE00 4.35
Bile
#B5C306
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB732 #3235BA
analogous
#BA7332 #BAB732 #79BA32
triadic
#BAB732 #32BAB7 #B732BA
tetradic
#BAB732 #32BA73 #3235BA #BA3279
square
#BAB732 #32BA73 #3235BA #BA3279
split-complementary
#BAB732 #3279BA #7332BA
monochromatic
#5A5818 #8A8825 #BAB732 #D2CF57 #DFDD88
Accessibility & contrast
On white
2.12
#BAB732 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.91
#BAB732 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB732
9.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB732 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB732 | 1.00 | 2.12 | 9.91 | 9.91 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B018
Deuteranopia (green-blind)
#C8B43C
Tritanopia (blue-blind)
#C8AB9D
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #bab732; /* rgb */ color: rgb(186, 183, 50); /* oklch */ color: oklch(75.9% 0.148 108.1);
Tailwind
colors: {
custom: {
50: '#d2cc74',
500: '#bab732',
950: '#000000',
},
}SCSS
$custom: #bab732; $custom-light: #d2cc74; $custom-dark: #000000;
JSON
{
"hex": "#bab732",
"rgb": {
"r": 186,
"g": 183,
"b": 50
},
"hsl": {
"h": 58.676,
"s": 57.627,
"l": 46.275
},
"oklch": {
"l": 0.75878,
"c": 0.14762,
"h": 108.1
},
"luminance": 0.44536
}Semantic roles & 50–950 ramp
primary
#BAB732
secondary
#7F81C9
accent
#4AE147
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B