#BAB736#BAB736
#BAB736 is a light, vivid yellow. Relative luminance 0.446; OKLCH L 75.9% C 0.145 H 108.1°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB736 |
|---|---|
| RGB | rgb(186, 183, 54) |
| HSL | hsl(59, 55%, 47%) |
| HSV | hsv(59, 71%, 73%) |
| CMYK | cmyk(0%, 1.6%, 71%, 27.1%) |
| CIE-LAB | lab(72.61, -14.08, 62.24) |
| CIE-LCH | lch(72.61, 63.82, 102.75°) |
| OKLab | oklab(75.9% -0.045 0.138) |
| OKLCH | oklch(75.9% 0.145 108.1) |
| XYZ | xyz(37.8504, 44.5736, 10.0991) |
| Luminance | 0.4457 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Yellow
#C2BE0E
ΔE00 3.56
Olive Yellow
#C2B709
ΔE00 3.63
Mustard Green
#A8B504
ΔE00 4.34
Vomit Yellow
#C7C10C
ΔE00 4.38
Snot
#ACBB0D
ΔE00 4.49
Bile
#B5C306
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB736 #3639BA
analogous
#BA7536 #BAB736 #7BBA36
triadic
#BAB736 #36BAB7 #B736BA
tetradic
#BAB736 #36BA75 #3639BA #BA367B
square
#BAB736 #36BA75 #3639BA #BA367B
split-complementary
#BAB736 #367BBA #7536BA
monochromatic
#5B5A1A #8B8828 #BAB736 #D0CD5D #DEDC8D
Accessibility & contrast
On white
2.12
#BAB736 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.91
#BAB736 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB736
9.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB736 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB736 | 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)
#C6B020
Deuteranopia (green-blind)
#C8B43F
Tritanopia (blue-blind)
#C7AB9E
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #bab736; /* rgb */ color: rgb(186, 183, 54); /* oklch */ color: oklch(75.9% 0.145 108.1);
Tailwind
colors: {
custom: {
50: '#d2cc76',
500: '#bab736',
950: '#000000',
},
}SCSS
$custom: #bab736; $custom-light: #d2cc76; $custom-dark: #000000;
JSON
{
"hex": "#bab736",
"rgb": {
"r": 186,
"g": 183,
"b": 54
},
"hsl": {
"h": 58.636,
"s": 55,
"l": 47.059
},
"oklch": {
"l": 0.75904,
"c": 0.14521,
"h": 108.1
},
"luminance": 0.44572
}Semantic roles & 50–950 ramp
primary
#BAB736
secondary
#8485C8
accent
#4DDE49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B