#BAB139#BAB139
#BAB139 is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.6% C 0.138 H 105.0°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB139 |
|---|---|
| RGB | rgb(186, 177, 57) |
| HSL | hsl(56, 53%, 48%) |
| HSV | hsv(56, 69%, 73%) |
| CMYK | cmyk(0%, 4.8%, 69.4%, 27.1%) |
| CIE-LAB | lab(71.00, -10.85, 59.52) |
| CIE-LCH | lch(71.00, 60.50, 100.33°) |
| OKLab | oklab(74.62% -0.0356 0.1328) |
| OKLCH | oklch(74.62% 0.138 105) |
| XYZ | xyz(36.7118, 42.1802, 10.0779) |
| Luminance | 0.4218 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 3.95
Muddy Yellow
#BFAC05
ΔE00 4.22
Puke Yellow
#C2BE0E
ΔE00 4.97
Puke
#A5A502
ΔE00 5.08
Vomit
#A2A415
ΔE00 5.39
Brownish Yellow
#C9B003
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB139 #3942BA
analogous
#BA7139 #BAB139 #82BA39
triadic
#BAB139 #39BAB1 #B139BA
tetradic
#BAB139 #39BA71 #3942BA #BA3982
square
#BAB139 #39BA71 #3942BA #BA3982
split-complementary
#BAB139 #3982BA #7139BA
monochromatic
#5C581C #8B842B #BAB139 #CFC761 #DDD890
Accessibility & contrast
On white
2.23
#BAB139 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.44
#BAB139 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB139
9.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB139 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB139 | 1.00 | 2.23 | 9.44 | 9.44 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AB27
Deuteranopia (green-blind)
#C4B041
Tritanopia (blue-blind)
#C8A599
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #bab139; /* rgb */ color: rgb(186, 177, 57); /* oklch */ color: oklch(74.6% 0.138 105.0);
Tailwind
colors: {
custom: {
50: '#d2c877',
500: '#bab139',
950: '#000000',
},
}SCSS
$custom: #bab139; $custom-light: #d2c877; $custom-dark: #000000;
JSON
{
"hex": "#bab139",
"rgb": {
"r": 186,
"g": 177,
"b": 57
},
"hsl": {
"h": 55.814,
"s": 53.086,
"l": 47.647
},
"oklch": {
"l": 0.74623,
"c": 0.13752,
"h": 105
},
"luminance": 0.42179
}Semantic roles & 50–950 ramp
primary
#BAB139
secondary
#878BC8
accent
#55DC4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B