#336600 color
#336600 is a dark green colour. It is rgb(51, 102, 0) in RGB and hsl(90, 100%, 20%) in HSL. Text in white reads better on it: the contrast is 6.90:1 against white and 3.04:1 against black.
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{#336600}:\quad R=\mathrm{33}_{16}=51,\ G=\mathrm{66}_{16}=102,\ B=\mathrm{00}_{16}=0 - 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.
90^\circ + 180^\circ = 270^\circ ;\Rightarrow; \mathrm{#330066} - 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{#336600} = \mathrm{rgb}(51, 102, 0) \]
\[ \mathrm{#336600}:\quad R=\mathrm{33}_{16}=51,\ G=\mathrm{66}_{16}=102,\ B=\mathrm{00}_{16}=0 \]
\[ H=90^\circ,\quad S=100\%,\quad L=20\% \]
\[ 90^\circ + 180^\circ = 270^\circ ;\Rightarrow; \mathrm{#330066} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 6.90:1\ \text{(on white)} \]#336600 in every colour format
| Format | Value |
|---|---|
| HEX | #336600 |
| RGB | rgb(51, 102, 0) |
| RGB (percent) | rgb(20.0%, 40.0%, 0.0%) |
| HSL | hsl(90, 100%, 20%) |
| HSV / HSB | hsv(90, 100%, 40%) |
| CMYK | cmyk(50%, 0%, 100%, 60%) |
| Decimal | 3368448 |
| Description | dark green |
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 | 6.90:1 | pass | pass | fail | pass |
| Black text | 3.04:1 | fail | pass | fail | fail |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #081100 #112200 #1A3300 #224400 #2B5500 |
| This colour | #336600 |
| Tints (mixed with white) | #55802B #779955 #99B380 #BBCCAA #DDE6D5 |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #6A5D00 | 30 |
| Deuteranopia | #645810 | 30 |
| Tritanopia | #326256 | 44 |
| Grayscale | #5A5A5A | - |
Nearest named colours
| Name | Hex |
|---|---|
| Dark green | #006400 |
| Olive drab | #6B8E23 |
| Dark olive green | #556B2F |
| Forest green | #228B22 |
Questions
What is the RGB value of #336600?
rgb(51, 102, 0): red 51, green 102, blue 0.
What is the HSL value of #336600?
hsl(90, 100%, 20%): a hue of 90°, 100% saturation and 20% lightness.
What is the complementary colour of #336600?
#330066, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #CC99FF.
Should I use white or black text on #336600?
White. White gives 6.90:1 and black 3.04:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #336600?
cmyk(50%, 0%, 100%, 60%). This is a simple formula conversion; printed colours depend on the printer profile.
What is the closest named colour to #336600?
Dark green (#006400).