#B5AF8A color
The hex color #B5AF8A is a light, grayish yellow.
In the RGB color model it is made of 71% red, 68.6% green and 54.1% blue (181, 175, 138).
Its hue angle is 52°, with 23% saturation and 63% lightness. For print, the CMYK equivalent is 0% cyan, 3% magenta, 24% yellow and 29% black.
The closest named color is Olive Tree (#ABA77C), a difference of 3.2 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 9.46:1).
#B5AF8A color codes
| HEX | #B5AF8A | |
|---|---|---|
| RGB | rgb(181, 175, 138) | |
| RGB percent | rgb(71%, 68.6%, 54.1%) | |
| HSL | hsl(52, 23%, 63%) | |
| HSV / HSB | hsv(52, 24%, 71%) | |
| CMYK | cmyk(0%, 3%, 24%, 29%) | |
| CIE LAB | lab(71.09, -3.93, 19.79) | |
| CIE LCH | lch(71.09, 20.18, 101.23) | |
| CIE XYZ | xyz(38.973, 42.319, 30.155) | |
| Decimal | 11906954 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #B5AF8A, 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 #B5AF8A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.46:1 | Pass | Pass | Pass |
| Sample text | 2.22:1 | Fail | Fail | Fail |
| #B5AF8A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.22:1 | Fail | Fail | Fail |
| Sample text | 9.46: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 #B5AF8A looks to people with the most common types of color vision deficiency.
#b6ac88Protanopia
no red cones#b8af8bDeuteranopia
no green cones#bcaaa5Tritanopia
no blue cones#aeaeaeAchromatopsia
no color vision
CSS examples
.background { background-color: #b5af8a; }
.text { color: #b5af8a; }
.border { border: 2px solid #b5af8a; }
.transparent { background-color: rgb(181 175 138 / 50%); }
.gradient { background: linear-gradient(to right, #b5af8a, #a6b58a); }
Similar colors
#aba77cOlive Tree#b5b68fGreen Tea#bcb88aSage#b1a979Bamboo Forest#bbac7dNettle#b0a676Windy Meadow#aaaa77Cardamom#c2b280Ecru
Questions
- What color is #B5AF8A?
- #B5AF8A is a light, grayish yellow, closest to the named color Olive Tree. It belongs to the yellow family of colors.
- What is the RGB value of #B5AF8A?
- The RGB value is 181, 175, 138: 181 red, 175 green and 138 blue on a 0 to 255 scale.
- What is the complementary color of #B5AF8A?
- The complementary color is #8A90B5, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #B5AF8A?
- Black text. Black text has a contrast ratio of 9.46:1 and white text 2.22:1. WCAG asks for at least 4.5:1 for normal text.