Dark olive green color (#556B2F)
#556B2F (Dark olive green) is a dark muted green colour. It is rgb(85, 107, 47) in RGB and hsl(82, 39%, 30%) in HSL. Text in white reads better on it: the contrast is 5.95:1 against white and 3.53: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{#556B2F}:\quad R=\mathrm{55}_{16}=85,\ G=\mathrm{6B}_{16}=107,\ B=\mathrm{2F}_{16}=47 - 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.
82^\circ + 180^\circ = 262^\circ ;\Rightarrow; \mathrm{#452F6B} - 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{#556B2F} = \mathrm{rgb}(85, 107, 47) \]
\[ \mathrm{#556B2F}:\quad R=\mathrm{55}_{16}=85,\ G=\mathrm{6B}_{16}=107,\ B=\mathrm{2F}_{16}=47 \]
\[ H=82^\circ,\quad S=39\%,\quad L=30\% \]
\[ 82^\circ + 180^\circ = 262^\circ ;\Rightarrow; \mathrm{#452F6B} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 5.95:1\ \text{(on white)} \]Dark olive green in every colour format
| Format | Value |
|---|---|
| HEX | #556B2F |
| RGB | rgb(85, 107, 47) |
| RGB (percent) | rgb(33.3%, 42.0%, 18.4%) |
| HSL | hsl(82, 39%, 30%) |
| HSV / HSB | hsv(82, 56%, 42%) |
| CMYK | cmyk(21%, 0%, 56%, 58%) |
| Decimal | 5597999 |
| Description | dark muted green |
| CSS name | darkolivegreen |
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 | 5.95:1 | pass | pass | fail | pass |
| Black text | 3.53:1 | fail | pass | fail | fail |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #0E1208 #1C2410 #2B3618 #39471F #475927 |
| This colour | #556B2F |
| Tints (mixed with white) | #718452 #8E9C74 #AAB597 #C6CEBA #E3E6DC |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #706529 | 16 |
| Deuteranopia | #6D6333 | 16 |
| Tritanopia | #58665E | 30 |
| Grayscale | #646464 | - |
Nearest named colours
| Name | Hex |
|---|---|
| Olive drab | #6B8E23 |
| Sea green | #2E8B57 |
| Dark green | #006400 |
| Olive | #808000 |
Questions
What is the RGB value of #556B2F?
rgb(85, 107, 47): red 85, green 107, blue 47.
What is the HSL value of #556B2F?
hsl(82, 39%, 30%): a hue of 82°, 39% saturation and 30% lightness.
What is the complementary colour of #556B2F?
#452F6B, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #AA94D0.
Should I use white or black text on #556B2F?
White. White gives 5.95:1 and black 3.53:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #556B2F?
cmyk(21%, 0%, 56%, 58%). This is a simple formula conversion; printed colours depend on the printer profile.
Is #556B2F a named colour?
Yes: it is the CSS colour name "darkolivegreen".