#BAB433#BAB433
#BAB433 is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.2% C 0.144 H 106.7°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB433 |
|---|---|
| RGB | rgb(186, 180, 51) |
| HSL | hsl(57, 57%, 46%) |
| HSV | hsv(57, 73%, 73%) |
| CMYK | cmyk(0%, 3.2%, 72.6%, 27.1%) |
| CIE-LAB | lab(71.77, -12.69, 62.52) |
| CIE-LCH | lch(71.77, 63.79, 101.47°) |
| OKLab | oklab(75.23% -0.0414 0.1381) |
| OKLCH | oklch(75.23% 0.144 106.7) |
| XYZ | xyz(37.1700, 43.3220, 9.5353) |
| Luminance | 0.4332 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 3.26
Puke Yellow
#C2BE0E
ΔE00 3.85
Muddy Yellow
#BFAC05
ΔE00 4.52
Vomit Yellow
#C7C10C
ΔE00 4.66
Mustard Green
#A8B504
ΔE00 4.81
Puke
#A5A502
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB433 #3339BA
analogous
#BA7133 #BAB433 #7DBA33
triadic
#BAB433 #33BAB4 #B433BA
tetradic
#BAB433 #33BA71 #3339BA #BA337D
square
#BAB433 #33BA71 #3339BA #BA337D
split-complementary
#BAB433 #337DBA #7133BA
monochromatic
#5A5719 #8A8626 #BAB433 #D1CC59 #DFDB89
Accessibility & contrast
On white
2.17
#BAB433 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.66
#BAB433 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB433
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB433 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB433 | 1.00 | 2.17 | 9.66 | 9.66 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AD1B
Deuteranopia (green-blind)
#C6B23C
Tritanopia (blue-blind)
#C8A89B
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #bab433; /* rgb */ color: rgb(186, 180, 51); /* oklch */ color: oklch(75.2% 0.144 106.7);
Tailwind
colors: {
custom: {
50: '#d2ca74',
500: '#bab433',
950: '#000000',
},
}SCSS
$custom: #bab433; $custom-light: #d2ca74; $custom-dark: #000000;
JSON
{
"hex": "#bab433",
"rgb": {
"r": 186,
"g": 180,
"b": 51
},
"hsl": {
"h": 57.333,
"s": 56.962,
"l": 46.471
},
"oklch": {
"l": 0.75231,
"c": 0.14416,
"h": 106.7
},
"luminance": 0.43321
}Semantic roles & 50–950 ramp
primary
#BAB433
secondary
#8083C9
accent
#4EE048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B