#B8CC17 color
The hex color #B8CC17 is a moderate yellow.
In the RGB color model it is made of 72.2% red, 80% green and 9% blue (184, 204, 23).
Its hue angle is 67°, with 80% saturation and 45% lightness. For print, the CMYK equivalent is 10% cyan, 0% magenta, 89% yellow and 20% black.
The closest named color is Serpent Sceptre (#BBCC00), a difference of 1 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 11.69:1).
#B8CC17 color codes
| HEX | #B8CC17 | |
|---|---|---|
| RGB | rgb(184, 204, 23) | |
| RGB percent | rgb(72.2%, 80%, 9%) | |
| HSL | hsl(67, 80%, 45%) | |
| HSV / HSB | hsv(67, 89%, 80%) | |
| CMYK | cmyk(10%, 0%, 89%, 20%) | |
| CIE LAB | lab(78.13, -26.38, 75.38) | |
| CIE LCH | lch(78.13, 79.86, 109.29) | |
| CIE XYZ | xyz(41.516, 53.439, 8.938) | |
| Decimal | 12110871 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #B8CC17, 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 #B8CC17 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.69:1 | Pass | Pass | Pass |
| Sample text | 1.8:1 | Fail | Fail | Fail |
| #B8CC17 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.8:1 | Fail | Fail | Fail |
| Sample text | 11.69: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 #B8CC17 looks to people with the most common types of color vision deficiency.
#dbc100Protanopia
no red cones#d9c22fDeuteranopia
no green cones#c4c0aeTritanopia
no blue cones#c1c1c1Achromatopsia
no color vision
CSS examples
.background { background-color: #b8cc17; }
.text { color: #b8cc17; }
.border { border: 2px solid #b8cc17; }
.transparent { background-color: rgb(184 204 23 / 50%); }
.gradient { background: linear-gradient(to right, #b8cc17, #5ecc17); }
Similar colors
#bbcc00Serpent Sceptre#bccb08Cheerly Kiwi#c0d725Lime Punch#c6d624Lime Twist#aacc11Leafy Canopy#acc326Sour Lime#accb35Tender Shoot#cdd80dGoldzilla
Closest common color name: Yellow Green.
Questions
- What color is #B8CC17?
- #B8CC17 is a moderate yellow, closest to the named color Serpent Sceptre. It belongs to the yellow family of colors.
- What is the RGB value of #B8CC17?
- The RGB value is 184, 204, 23: 184 red, 204 green and 23 blue on a 0 to 255 scale.
- What is the complementary color of #B8CC17?
- The complementary color is #2B17CC, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #B8CC17?
- Black text. Black text has a contrast ratio of 11.69:1 and white text 1.8:1. WCAG asks for at least 4.5:1 for normal text.