#BAB033#BAB033
#BAB033 is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.4% C 0.140 H 104.7°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB033 |
|---|---|
| RGB | rgb(186, 176, 51) |
| HSL | hsl(56, 57%, 46%) |
| HSV | hsv(56, 73%, 73%) |
| CMYK | cmyk(0%, 5.4%, 72.6%, 27.1%) |
| CIE-LAB | lab(70.68, -10.63, 61.47) |
| CIE-LCH | lch(70.68, 62.38, 99.81°) |
| OKLab | oklab(74.36% -0.0356 0.1359) |
| OKLCH | oklch(74.36% 0.14 104.7) |
| XYZ | xyz(36.3741, 41.7302, 9.2701) |
| Luminance | 0.4173 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 3.57
Muddy Yellow
#BFAC05
ΔE00 3.61
Puke
#A5A502
ΔE00 4.82
Puke Yellow
#C2BE0E
ΔE00 4.84
Brownish Yellow
#C9B003
ΔE00 5.01
Vomit
#A2A415
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB033 #333DBA
analogous
#BA6D33 #BAB033 #81BA33
triadic
#BAB033 #33BAB0 #B033BA
tetradic
#BAB033 #33BA6D #333DBA #BA3381
square
#BAB033 #33BA6D #333DBA #BA3381
split-complementary
#BAB033 #3381BA #6D33BA
monochromatic
#5A5519 #8A8326 #BAB033 #D1C859 #DFD889
Accessibility & contrast
On white
2.25
#BAB033 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.35
#BAB033 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB033
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB033 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB033 | 1.00 | 2.25 | 9.35 | 9.35 |
| #FFFFFF | 2.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AA1D
Deuteranopia (green-blind)
#C3AF3C
Tritanopia (blue-blind)
#C8A498
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #bab033; /* rgb */ color: rgb(186, 176, 51); /* oklch */ color: oklch(74.4% 0.140 104.7);
Tailwind
colors: {
custom: {
50: '#d2c773',
500: '#bab033',
950: '#000000',
},
}SCSS
$custom: #bab033; $custom-light: #d2c773; $custom-dark: #000000;
JSON
{
"hex": "#bab033",
"rgb": {
"r": 186,
"g": 176,
"b": 51
},
"hsl": {
"h": 55.556,
"s": 56.962,
"l": 46.471
},
"oklch": {
"l": 0.74364,
"c": 0.14045,
"h": 104.7
},
"luminance": 0.41729
}Semantic roles & 50–950 ramp
primary
#BAB033
secondary
#8086C9
accent
#53E048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B