#BAB278 color
The hex color #BAB278 is a desaturated yellow.
In the RGB color model it is made of 72.9% red, 69.8% green and 47.1% blue (186, 178, 120).
Its hue angle is 53°, with 32% saturation and 60% lightness. For print, the CMYK equivalent is 0% cyan, 4% magenta, 35% yellow and 27% black.
The closest named color is Bamboo Forest (#B1A979), a difference of 3.3 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 9.73:1).
#BAB278 color codes
| HEX | #BAB278 | |
|---|---|---|
| RGB | rgb(186, 178, 120) | |
| RGB percent | rgb(72.9%, 69.8%, 47.1%) | |
| HSL | hsl(53, 32%, 60%) | |
| HSV / HSB | hsv(53, 35%, 73%) | |
| CMYK | cmyk(0%, 4%, 35%, 27%) | |
| CIE LAB | lab(71.99, -5.93, 30.71) | |
| CIE LCH | lch(71.99, 31.28, 100.93) | |
| CIE XYZ | xyz(39.561, 43.637, 24.104) | |
| Decimal | 12235384 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #BAB278, 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 #BAB278 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.73:1 | Pass | Pass | Pass |
| Sample text | 2.16:1 | Fail | Fail | Fail |
| #BAB278 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.16:1 | Fail | Fail | Fail |
| Sample text | 9.73: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 #BAB278 looks to people with the most common types of color vision deficiency.
#bcae74Protanopia
no red cones#bfb27aDeuteranopia
no green cones#c3aaa3Tritanopia
no blue cones#b0b0b0Achromatopsia
no color vision
CSS examples
.background { background-color: #bab278; }
.text { color: #bab278; }
.border { border: 2px solid #bab278; }
.transparent { background-color: rgb(186 178 120 / 50%); }
.gradient { background: linear-gradient(to right, #bab278, #a1ba78); }
Similar colors
#b1a979Bamboo Forest#c2b280Ecru#c2b280Sand#bcb88aSage#bdb76bDark Khaki#bbac7dNettle#b0a676Windy Meadow#aaaa77Cardamom
Questions
- What color is #BAB278?
- #BAB278 is a desaturated yellow, closest to the named color Bamboo Forest. It belongs to the yellow family of colors.
- What is the RGB value of #BAB278?
- The RGB value is 186, 178, 120: 186 red, 178 green and 120 blue on a 0 to 255 scale.
- What is the complementary color of #BAB278?
- The complementary color is #7880BA, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #BAB278?
- Black text. Black text has a contrast ratio of 9.73:1 and white text 2.16:1. WCAG asks for at least 4.5:1 for normal text.