Basil Smash color: hex code #B7E1A1
Basil Smash has the hex code #B7E1A1. It is a light, moderate green.
In the RGB color model it is made of 71.8% red, 88.2% green and 63.1% blue (183, 225, 161).
Its hue angle is 99°, with 52% saturation and 76% lightness. For print, the CMYK equivalent is 19% cyan, 0% magenta, 28% yellow and 12% black.
Black text is the more readable choice on this background (contrast 14.3:1).
Basil Smash (#B7E1A1) color codes
| HEX | #B7E1A1 | |
|---|---|---|
| RGB | rgb(183, 225, 161) | |
| RGB percent | rgb(71.8%, 88.2%, 63.1%) | |
| HSL | hsl(99, 52%, 76%) | |
| HSV / HSB | hsv(99, 28%, 88%) | |
| CMYK | cmyk(19%, 0%, 28%, 12%) | |
| CIE LAB | lab(85.25, -25.16, 26.97) | |
| CIE LCH | lch(85.25, 36.88, 133.01) | |
| CIE XYZ | xyz(52.885, 66.49, 43.759) | |
| Decimal | 12050849 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Basil Smash, 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 #B7E1A1 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.3:1 | Pass | Pass | Pass |
| Sample text | 1.47:1 | Fail | Fail | Fail |
| #B7E1A1 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.47:1 | Fail | Fail | Fail |
| Sample text | 14.3: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 #B7E1A1 looks to people with the most common types of color vision deficiency.
#e6d79dProtanopia
no red cones#dfd4a4Deuteranopia
no green cones#b7dcd0Tritanopia
no blue cones#d5d5d5Achromatopsia
no color vision
CSS examples
.background { background-color: #b7e1a1; }
.text { color: #b7e1a1; }
.border { border: 2px solid #b7e1a1; }
.transparent { background-color: rgb(183 225 161 / 50%); }
.gradient { background: linear-gradient(to right, #b7e1a1, #a1e1ab); }
Similar colors
#bee7a5Pastel Pea#baebaeIce Ice#a8e4a0Grape Green#b2e191Sage Sensation#b1dbaaFizz#b6d4a0In Good Taste#ace1afCeladon#bbee99Sweet Mint Pesto
See #B7E1A1 on its hex code page
Questions
- What color is #B7E1A1?
- #B7E1A1 is a light, moderate green known as Basil Smash. It belongs to the green family of colors.
- What is the RGB value of Basil Smash?
- The RGB value is 183, 225, 161: 183 red, 225 green and 161 blue on a 0 to 255 scale.
- What is the complementary color of Basil Smash?
- The complementary color is #CBA1E1, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #B7E1A1?
- Black text. Black text has a contrast ratio of 14.3:1 and white text 1.47:1. WCAG asks for at least 4.5:1 for normal text.