#B8B28B color
The hex color #B8B28B is a light, grayish yellow.
In the RGB color model it is made of 72.2% red, 69.8% green and 54.5% blue (184, 178, 139).
Its hue angle is 52°, with 24% saturation and 63% lightness. For print, the CMYK equivalent is 0% cyan, 3% magenta, 24% yellow and 28% black.
The closest named color is Sage (#BCB88A), a difference of 2.5 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 9.78:1).
#B8B28B color codes
| HEX | #B8B28B | |
|---|---|---|
| RGB | rgb(184, 178, 139) | |
| RGB percent | rgb(72.2%, 69.8%, 54.5%) | |
| HSL | hsl(52, 24%, 63%) | |
| HSV / HSB | hsv(52, 24%, 72%) | |
| CMYK | cmyk(0%, 3%, 24%, 28%) | |
| CIE LAB | lab(72.16, -4.22, 20.75) | |
| CIE LCH | lch(72.16, 21.18, 101.49) | |
| CIE XYZ | xyz(40.348, 43.896, 30.768) | |
| Decimal | 12104331 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #B8B28B, 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 #B8B28B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.78:1 | Pass | Pass | Pass |
| Sample text | 2.15:1 | Fail | Fail | Fail |
| #B8B28B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.15:1 | Fail | Fail | Fail |
| Sample text | 9.78: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 #B8B28B looks to people with the most common types of color vision deficiency.
#baaf89Protanopia
no red cones#bcb28cDeuteranopia
no green cones#bfaca7Tritanopia
no blue cones#b1b1b1Achromatopsia
no color vision
CSS examples
.background { background-color: #b8b28b; }
.text { color: #b8b28b; }
.border { border: 2px solid #b8b28b; }
.transparent { background-color: rgb(184 178 139 / 50%); }
.gradient { background: linear-gradient(to right, #b8b28b, #a8b88b); }
Similar colors
#bcb88aSage#b5b68fGreen Tea#b1a979Bamboo Forest#aba77cOlive Tree#bbac7dNettle#b0a676Windy Meadow#c2b280Ecru#c2b280Sand
Questions
- What color is #B8B28B?
- #B8B28B is a light, grayish yellow, closest to the named color Sage. It belongs to the yellow family of colors.
- What is the RGB value of #B8B28B?
- The RGB value is 184, 178, 139: 184 red, 178 green and 139 blue on a 0 to 255 scale.
- What is the complementary color of #B8B28B?
- The complementary color is #8B91B8, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #B8B28B?
- Black text. Black text has a contrast ratio of 9.78:1 and white text 2.15:1. WCAG asks for at least 4.5:1 for normal text.