#BAB733#BAB733
#BAB733 is a light, vivid yellow. Relative luminance 0.445; OKLCH L 75.9% C 0.147 H 108.1°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB733 |
|---|---|
| RGB | rgb(186, 183, 51) |
| HSL | hsl(59, 57%, 46%) |
| HSV | hsv(59, 73%, 73%) |
| CMYK | cmyk(0%, 1.6%, 72.6%, 27.1%) |
| CIE-LAB | lab(72.59, -14.23, 63.30) |
| CIE-LCH | lch(72.59, 64.88, 102.67°) |
| OKLab | oklab(75.88% -0.0457 0.1397) |
| OKLCH | oklch(75.88% 0.147 108.1) |
| XYZ | xyz(37.7822, 44.5463, 9.7394) |
| Luminance | 0.4455 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Yellow
#C2BE0E
ΔE00 3.33
Olive Yellow
#C2B709
ΔE00 3.41
Vomit Yellow
#C7C10C
ΔE00 4.18
Mustard Green
#A8B504
ΔE00 4.23
Snot
#ACBB0D
ΔE00 4.38
Bile
#B5C306
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB733 #3336BA
analogous
#BA7433 #BAB733 #7ABA33
triadic
#BAB733 #33BAB7 #B733BA
tetradic
#BAB733 #33BA74 #3336BA #BA337A
square
#BAB733 #33BA74 #3336BA #BA337A
split-complementary
#BAB733 #337ABA #7433BA
monochromatic
#5A5819 #8A8826 #BAB733 #D1CF59 #DFDD89
Accessibility & contrast
On white
2.12
#BAB733 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.91
#BAB733 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB733
9.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB733 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB733 | 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)
#C6B01A
Deuteranopia (green-blind)
#C8B43D
Tritanopia (blue-blind)
#C7AB9E
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #bab733; /* rgb */ color: rgb(186, 183, 51); /* oklch */ color: oklch(75.9% 0.147 108.1);
Tailwind
colors: {
custom: {
50: '#d2cc74',
500: '#bab733',
950: '#000000',
},
}SCSS
$custom: #bab733; $custom-light: #d2cc74; $custom-dark: #000000;
JSON
{
"hex": "#bab733",
"rgb": {
"r": 186,
"g": 183,
"b": 51
},
"hsl": {
"h": 58.667,
"s": 56.962,
"l": 46.471
},
"oklch": {
"l": 0.75884,
"c": 0.14703,
"h": 108.1
},
"luminance": 0.44545
}Semantic roles & 50–950 ramp
primary
#BAB733
secondary
#8082C9
accent
#4BE048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B