#BAB137#BAB137
#BAB137 is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.6% C 0.139 H 105.1°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB137 |
|---|---|
| RGB | rgb(186, 177, 55) |
| HSL | hsl(56, 54%, 47%) |
| HSV | hsv(56, 70%, 73%) |
| CMYK | cmyk(0%, 4.8%, 70.4%, 27.1%) |
| CIE-LAB | lab(70.98, -10.95, 60.28) |
| CIE-LCH | lch(70.98, 61.26, 100.30°) |
| OKLab | oklab(74.61% -0.0361 0.1341) |
| OKLCH | oklch(74.61% 0.139 105.1) |
| XYZ | xyz(36.6629, 42.1606, 9.8203) |
| Luminance | 0.4216 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 3.77
Muddy Yellow
#BFAC05
ΔE00 4.07
Puke Yellow
#C2BE0E
ΔE00 4.83
Puke
#A5A502
ΔE00 5.00
Vomit
#A2A415
ΔE00 5.33
Brownish Yellow
#C9B003
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB137 #3740BA
analogous
#BA7037 #BAB137 #81BA37
triadic
#BAB137 #37BAB1 #B137BA
tetradic
#BAB137 #37BA70 #3740BA #BA3781
square
#BAB137 #37BA70 #3740BA #BA3781
split-complementary
#BAB137 #3781BA #7037BA
monochromatic
#5C571B #8B8429 #BAB137 #D0C85F #DED88E
Accessibility & contrast
On white
2.23
#BAB137 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.43
#BAB137 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB137
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB137 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB137 | 1.00 | 2.23 | 9.43 | 9.43 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AB23
Deuteranopia (green-blind)
#C4B03F
Tritanopia (blue-blind)
#C8A599
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #bab137; /* rgb */ color: rgb(186, 177, 55); /* oklch */ color: oklch(74.6% 0.139 105.1);
Tailwind
colors: {
custom: {
50: '#d2c876',
500: '#bab137',
950: '#000000',
},
}SCSS
$custom: #bab137; $custom-light: #d2c876; $custom-dark: #000000;
JSON
{
"hex": "#bab137",
"rgb": {
"r": 186,
"g": 177,
"b": 55
},
"hsl": {
"h": 55.878,
"s": 54.357,
"l": 47.255
},
"oklch": {
"l": 0.74608,
"c": 0.13884,
"h": 105.1
},
"luminance": 0.42159
}Semantic roles & 50–950 ramp
primary
#BAB137
secondary
#8589C8
accent
#54DE4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B