#335544 color
#335544 is a dark grayish green colour. It is rgb(51, 85, 68) in RGB and hsl(150, 25%, 27%) in HSL. Text in white reads better on it: the contrast is 8.32:1 against white and 2.52: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{#335544}:\quad R=\mathrm{33}_{16}=51,\ G=\mathrm{55}_{16}=85,\ B=\mathrm{44}_{16}=68 - 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.
150^\circ + 180^\circ = 330^\circ ;\Rightarrow; \mathrm{#553344} - 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{#335544} = \mathrm{rgb}(51, 85, 68) \]
\[ \mathrm{#335544}:\quad R=\mathrm{33}_{16}=51,\ G=\mathrm{55}_{16}=85,\ B=\mathrm{44}_{16}=68 \]
\[ H=150^\circ,\quad S=25\%,\quad L=27\% \]
\[ 150^\circ + 180^\circ = 330^\circ ;\Rightarrow; \mathrm{#553344} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 8.32:1\ \text{(on white)} \]#335544 in every colour format
| Format | Value |
|---|---|
| HEX | #335544 |
| RGB | rgb(51, 85, 68) |
| RGB (percent) | rgb(20.0%, 33.3%, 26.7%) |
| HSL | hsl(150, 25%, 27%) |
| HSV / HSB | hsv(150, 40%, 33%) |
| CMYK | cmyk(40%, 0%, 20%, 67%) |
| Decimal | 3364164 |
| Description | dark grayish 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 | 8.32:1 | pass | pass | pass | pass |
| Black text | 2.52:1 | fail | fail | fail | fail |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #080E0B #111C17 #1A2B22 #22392D #2B4739 |
| This colour | #335544 |
| Tints (mixed with white) | #557163 #778E82 #99AAA2 #BBC6C1 #DDE3E0 |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #545043 | 16 |
| Deuteranopia | #4E4C45 | 16 |
| Tritanopia | #2B5550 | 8 |
| Grayscale | #4E4E4E | - |
Nearest named colours
| Name | Hex |
|---|---|
| Dark slate gray | #2F4F4F |
| Dim gray | #696969 |
| Teal | #008080 |
| Dark olive green | #556B2F |
Questions
What is the RGB value of #335544?
rgb(51, 85, 68): red 51, green 85, blue 68.
What is the HSL value of #335544?
hsl(150, 25%, 27%): a hue of 150°, 25% saturation and 27% lightness.
What is the complementary colour of #335544?
#553344, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #CCAABB.
Should I use white or black text on #335544?
White. White gives 8.32:1 and black 2.52:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #335544?
cmyk(40%, 0%, 20%, 67%). This is a simple formula conversion; printed colours depend on the printer profile.
What is the closest named colour to #335544?
Dark slate gray (#2F4F4F).