#BAB035#BAB035
#BAB035 is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.4% C 0.139 H 104.6°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB035 |
|---|---|
| RGB | rgb(186, 176, 53) |
| HSL | hsl(55, 56%, 47%) |
| HSV | hsv(55, 72%, 73%) |
| CMYK | cmyk(0%, 5.4%, 71.5%, 27.1%) |
| CIE-LAB | lab(70.70, -10.53, 60.75) |
| CIE-LCH | lch(70.70, 61.66, 99.84°) |
| OKLab | oklab(74.38% -0.0352 0.1347) |
| OKLCH | oklch(74.38% 0.139 104.6) |
| XYZ | xyz(36.4191, 41.7482, 9.5073) |
| Luminance | 0.4175 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 3.73
Muddy Yellow
#BFAC05
ΔE00 3.74
Puke
#A5A502
ΔE00 4.89
Puke Yellow
#C2BE0E
ΔE00 4.96
Brownish Yellow
#C9B003
ΔE00 5.12
Vomit
#A2A415
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB035 #353FBA
analogous
#BA6E35 #BAB035 #82BA35
triadic
#BAB035 #35BAB0 #B035BA
tetradic
#BAB035 #35BA6E #353FBA #BA3582
square
#BAB035 #35BA6E #353FBA #BA3582
split-complementary
#BAB035 #3582BA #6E35BA
monochromatic
#5B561A #8A8327 #BAB035 #D0C85C #DED88B
Accessibility & contrast
On white
2.25
#BAB035 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.35
#BAB035 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB035
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB035 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB035 | 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)
#C0AA20
Deuteranopia (green-blind)
#C3AF3D
Tritanopia (blue-blind)
#C8A498
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #bab035; /* rgb */ color: rgb(186, 176, 53); /* oklch */ color: oklch(74.4% 0.139 104.6);
Tailwind
colors: {
custom: {
50: '#d2c774',
500: '#bab035',
950: '#000000',
},
}SCSS
$custom: #bab035; $custom-light: #d2c774; $custom-dark: #000000;
JSON
{
"hex": "#bab035",
"rgb": {
"r": 186,
"g": 176,
"b": 53
},
"hsl": {
"h": 55.489,
"s": 55.649,
"l": 46.863
},
"oklch": {
"l": 0.74378,
"c": 0.13921,
"h": 104.6
},
"luminance": 0.41747
}Semantic roles & 50–950 ramp
primary
#BAB035
secondary
#8288C8
accent
#54DF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B