#BAB050#BAB050
#BAB050 is a light, moderate yellow. Relative luminance 0.421; OKLCH L 74.6% C 0.118 H 103.4°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB050 |
|---|---|
| RGB | rgb(186, 176, 80) |
| HSL | hsl(54, 43%, 52%) |
| HSV | hsv(54, 57%, 73%) |
| CMYK | cmyk(0%, 5.4%, 57%, 27.1%) |
| CIE-LAB | lab(70.92, -8.83, 49.53) |
| CIE-LCH | lch(70.92, 50.31, 100.11°) |
| OKLab | oklab(74.63% -0.0273 0.115) |
| OKLCH | oklch(74.63% 0.118 103.4) |
| XYZ | xyz(37.2242, 42.0703, 13.7474) |
| Luminance | 0.4207 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.01
Khaki (survey)
#AAA662
ΔE00 5.79
Muddy Yellow
#BFAC05
ΔE00 6.42
Olive Yellow
#C2B709
ΔE00 6.64
Vomit
#A2A415
ΔE00 6.78
Puke
#A5A502
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB050 #505ABA
analogous
#BA7B50 #BAB050 #8FBA50
triadic
#BAB050 #50BAB0 #B050BA
tetradic
#BAB050 #50BA7B #505ABA #BA508F
square
#BAB050 #50BA7B #505ABA #BA508F
split-complementary
#BAB050 #508FBA #7B50BA
monochromatic
#676129 #938A3A #BAB050 #CBC47C #DDD8A8
Accessibility & contrast
On white
2.23
#BAB050 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.41
#BAB050 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB050
9.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB050 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB050 | 1.00 | 2.23 | 9.41 | 9.41 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEAB46
Deuteranopia (green-blind)
#C1B055
Tritanopia (blue-blind)
#C7A59B
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #bab050; /* rgb */ color: rgb(186, 176, 80); /* oklch */ color: oklch(74.6% 0.118 103.4);
Tailwind
colors: {
custom: {
50: '#d1c784',
500: '#bab050',
950: '#000000',
},
}SCSS
$custom: #bab050; $custom-light: #d1c784; $custom-dark: #000000;
JSON
{
"hex": "#bab050",
"rgb": {
"r": 186,
"g": 176,
"b": 80
},
"hsl": {
"h": 54.34,
"s": 43.443,
"l": 52.157
},
"oklch": {
"l": 0.74626,
"c": 0.11821,
"h": 103.4
},
"luminance": 0.42069
}Semantic roles & 50–950 ramp
primary
#BAB050
secondary
#9CA0CA
accent
#61D355
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C