#B7C28B color
The hex color #B7C28B is a light, desaturated yellow-green.
In the RGB color model it is made of 71.8% red, 76.1% green and 54.5% blue (183, 194, 139).
Its hue angle is 72°, with 31% saturation and 65% lightness. For print, the CMYK equivalent is 6% cyan, 0% magenta, 28% yellow and 24% black.
The closest named color is Nile (#AFB982), a difference of 2.4 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 11.1:1).
#B7C28B color codes
| HEX | #B7C28B | |
|---|---|---|
| RGB | rgb(183, 194, 139) | |
| RGB percent | rgb(71.8%, 76.1%, 54.5%) | |
| HSL | hsl(72, 31%, 65%) | |
| HSV / HSB | hsv(72, 28%, 76%) | |
| CMYK | cmyk(6%, 0%, 28%, 24%) | |
| CIE LAB | lab(76.38, -12.95, 26.48) | |
| CIE LCH | lch(76.38, 29.47, 116.06) | |
| CIE XYZ | xyz(43.48, 50.515, 31.881) | |
| Decimal | 12042891 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #B7C28B, 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 #B7C28B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.1:1 | Pass | Pass | Pass |
| Sample text | 1.89:1 | Fail | Fail | Fail |
| #B7C28B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.89:1 | Fail | Fail | Fail |
| Sample text | 11.1: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 #B7C28B looks to people with the most common types of color vision deficiency.
#c9bc87Protanopia
no red cones#c8bd8dDeuteranopia
no green cones#bdbcb4Tritanopia
no blue cones#bcbcbcAchromatopsia
no color vision
CSS examples
.background { background-color: #b7c28b; }
.text { color: #b7c28b; }
.border { border: 2px solid #b7c28b; }
.transparent { background-color: rgb(183 194 139 / 50%); }
.gradient { background: linear-gradient(to right, #b7c28b, #9bc28b); }
Similar colors
#afb982Nile#bec187Kiss a Frog#bbc199Beige and Sage#c0cba1Seedling#c3c67eSoda Pop#b2cc9aGreenhorn#b8bf71Zoodles#babc72Savannah Grass
Closest common color name: Sage.
Questions
- What color is #B7C28B?
- #B7C28B is a light, desaturated yellow-green, closest to the named color Nile. It belongs to the green family of colors.
- What is the RGB value of #B7C28B?
- The RGB value is 183, 194, 139: 183 red, 194 green and 139 blue on a 0 to 255 scale.
- What is the complementary color of #B7C28B?
- The complementary color is #968BC2, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #B7C28B?
- Black text. Black text has a contrast ratio of 11.1:1 and white text 1.89:1. WCAG asks for at least 4.5:1 for normal text.