#BBBB99 color
#BBBB99 is a grayish yellow colour. It is rgb(187, 187, 153) in RGB and hsl(60, 20%, 67%) in HSL. Text in black reads better on it: the contrast is 10.68:1 against black and 1.97:1 against white.
How to work it out
- 1
A hex code is three pairs of base-16 digits: red, green and blue, from 00 (none) to FF (full).
\mathrm{#BBBB99}:\quad R=\mathrm{BB}_{16}=187,\ G=\mathrm{BB}_{16}=187,\ B=\mathrm{99}_{16}=153 - 2
HSL describes the same colour as a hue angle on the colour wheel (0° red, 120° green, 240° blue), a saturation and a lightness.
- 3
The complementary colour sits opposite on the wheel: add 180° to the hue.
60^\circ + 180^\circ = 240^\circ ;\Rightarrow; \mathrm{#9999BB} - 4
Contrast is the ratio of the lighter to the darker relative luminance, each plus 0.05. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text (AA).
LaTeX source of the formulas on this page
\[ \mathrm{#BBBB99} = \mathrm{rgb}(187, 187, 153) \]
\[ \mathrm{#BBBB99}:\quad R=\mathrm{BB}_{16}=187,\ G=\mathrm{BB}_{16}=187,\ B=\mathrm{99}_{16}=153 \]
\[ H=60^\circ,\quad S=20\%,\quad L=67\% \]
\[ 60^\circ + 180^\circ = 240^\circ ;\Rightarrow; \mathrm{#9999BB} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 1.97:1\ \text{(on white)} \]#BBBB99 in every colour format
| Format | Value |
|---|---|
| HEX | #BBBB99 |
| RGB | rgb(187, 187, 153) |
| RGB (percent) | rgb(73.3%, 73.3%, 60.0%) |
| HSL | hsl(60, 20%, 67%) |
| HSV / HSB | hsv(60, 18%, 73%) |
| CMYK | cmyk(0%, 0%, 18%, 27%) |
| Decimal | 12303257 |
| Description | grayish yellow |
Text contrast (WCAG)
| Background of this colour with… | Contrast | AA normal (4.5) | AA large (3) | AAA normal (7) | AAA large (4.5) |
|---|---|---|---|---|---|
| White text | 1.97:1 | fail | fail | fail | fail |
| Black text | 10.68:1 | pass | pass | pass | pass |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #1F1F19 #3E3E33 #5E5E4D #7D7D66 #9C9C80 |
| This colour | #BBBB99 |
| Tints (mixed with white) | #C6C6AA #D2D2BB #DDDDCC #E8E8DD #F4F4EE |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #C1B897 | 4 |
| Deuteranopia | #C2BA9A | 3 |
| Tritanopia | #C0B6B2 | 16 |
| Grayscale | #B9B9B9 | - |
Nearest named colours
| Name | Hex |
|---|---|
| Tan | #D2B48C |
| Wheat | #F5DEB3 |
| Burlywood | #DEB887 |
| Dark sea green | #8FBC8F |
Questions
What is the RGB value of #BBBB99?
rgb(187, 187, 153): red 187, green 187, blue 153.
What is the HSL value of #BBBB99?
hsl(60, 20%, 67%): a hue of 60°, 20% saturation and 67% lightness.
What is the complementary colour of #BBBB99?
#9999BB, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #444466.
Should I use white or black text on #BBBB99?
Black. White gives 1.97:1 and black 10.68:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #BBBB99?
cmyk(0%, 0%, 18%, 27%). This is a simple formula conversion; printed colours depend on the printer profile.
What is the closest named colour to #BBBB99?
Tan (#D2B48C).