#BAB136 color
The hex color #BAB136 is a moderate yellow.
In the RGB color model it is made of 72.9% red, 69.4% green and 21.2% blue (186, 177, 54).
Its hue angle is 56°, with 55% saturation and 47% lightness. For print, the CMYK equivalent is 0% cyan, 5% magenta, 71% yellow and 27% black.
The closest named color is Pesto (#C1B23E), a difference of 1.8 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 9.43:1).
#BAB136 color codes
| HEX | #BAB136 | |
|---|---|---|
| RGB | rgb(186, 177, 54) | |
| RGB percent | rgb(72.9%, 69.4%, 21.2%) | |
| HSL | hsl(56, 55%, 47%) | |
| HSV / HSB | hsv(56, 71%, 73%) | |
| CMYK | cmyk(0%, 5%, 71%, 27%) | |
| CIE LAB | lab(70.97, -11, 60.65) | |
| CIE LCH | lch(70.97, 61.64, 100.28) | |
| CIE XYZ | xyz(36.639, 42.151, 9.695) | |
| Decimal | 12235062 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #BAB136, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #BAB136 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.43:1 | Pass | Pass | Pass |
| Sample text | 2.23:1 | Fail | Fail | Fail |
| #BAB136 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.23:1 | Fail | Fail | Fail |
| Sample text | 9.43:1 | Pass | Pass | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #BAB136 looks to people with the most common types of color vision deficiency.
#c0ab22Protanopia
no red cones#c4b03eDeuteranopia
no green cones#c8a599Tritanopia
no blue cones#aeaeaeAchromatopsia
no color vision
CSS examples
.background { background-color: #bab136; }
.text { color: #bab136; }
.border { border: 2px solid #bab136; }
.transparent { background-color: rgb(186 177 54 / 50%); }
.gradient { background: linear-gradient(to right, #bab136, #81ba36); }
Similar colors
#c1b23ePesto#bda928Greenfinch#bea932Hey Pesto#bfac05Muddy Yellow#aaaa00Honey and Thyme#b5a642Brass#b3a74bPickled#aea132Martian
Closest common color name: Dark Khaki.
Questions
- What color is #BAB136?
- #BAB136 is a moderate yellow, closest to the named color Pesto. It belongs to the yellow family of colors.
- What is the RGB value of #BAB136?
- The RGB value is 186, 177, 54: 186 red, 177 green and 54 blue on a 0 to 255 scale.
- What is the complementary color of #BAB136?
- The complementary color is #363FBA, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #BAB136?
- Black text. Black text has a contrast ratio of 9.43:1 and white text 2.23:1. WCAG asks for at least 4.5:1 for normal text.