#BAB052#BAB052
#BAB052 is a light, moderate yellow. Relative luminance 0.421; OKLCH L 74.6% C 0.116 H 103.3°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB052 |
|---|---|
| RGB | rgb(186, 176, 82) |
| HSL | hsl(54, 43%, 53%) |
| HSV | hsv(54, 56%, 73%) |
| CMYK | cmyk(0%, 5.4%, 55.9%, 27.1%) |
| CIE-LAB | lab(70.94, -8.68, 48.61) |
| CIE-LCH | lch(70.94, 49.38, 100.12°) |
| OKLab | oklab(74.65% -0.0267 0.1133) |
| OKLCH | oklch(74.65% 0.116 103.3) |
| XYZ | xyz(37.2992, 42.1003, 14.1424) |
| Luminance | 0.4210 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.77
Khaki (survey)
#AAA662
ΔE00 5.57
Muddy Yellow
#BFAC05
ΔE00 6.67
Olive Yellow
#C2B709
ΔE00 6.91
Vomit
#A2A415
ΔE00 6.98
Puke
#A5A502
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB052 #525CBA
analogous
#BA7C52 #BAB052 #90BA52
triadic
#BAB052 #52BAB0 #B052BA
tetradic
#BAB052 #52BA7C #525CBA #BA5290
square
#BAB052 #52BA7C #525CBA #BA5290
split-complementary
#BAB052 #5290BA #7C52BA
monochromatic
#68622A #948B3B #BAB052 #CBC47E #DDD8AA
Accessibility & contrast
On white
2.23
#BAB052 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.42
#BAB052 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB052
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB052 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB052 | 1.00 | 2.23 | 9.42 | 9.42 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEAB49
Deuteranopia (green-blind)
#C1B057
Tritanopia (blue-blind)
#C7A59B
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #bab052; /* rgb */ color: rgb(186, 176, 82); /* oklch */ color: oklch(74.6% 0.116 103.3);
Tailwind
colors: {
custom: {
50: '#d1c786',
500: '#bab052',
950: '#000000',
},
}SCSS
$custom: #bab052; $custom-light: #d1c786; $custom-dark: #000000;
JSON
{
"hex": "#bab052",
"rgb": {
"r": 186,
"g": 176,
"b": 82
},
"hsl": {
"h": 54.231,
"s": 42.975,
"l": 52.549
},
"oklch": {
"l": 0.74649,
"c": 0.11636,
"h": 103.3
},
"luminance": 0.42099
}Semantic roles & 50–950 ramp
primary
#BAB052
secondary
#9DA2CA
accent
#61D355
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C