#335034 color
The hex color #335034 is a dark, grayish green.
In the RGB color model it is made of 20% red, 31.4% green and 20.4% blue (51, 80, 52).
Its hue angle is 122°, with 22% saturation and 26% lightness. For print, the CMYK equivalent is 36% cyan, 0% magenta, 35% yellow and 69% black.
The closest named color is Highlander (#3A533D), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.98:1).
#335034 color codes
| HEX | #335034 | |
|---|---|---|
| RGB | rgb(51, 80, 52) | |
| RGB percent | rgb(20%, 31.4%, 20.4%) | |
| HSL | hsl(122, 22%, 26%) | |
| HSV / HSB | hsv(122, 36%, 31%) | |
| CMYK | cmyk(36%, 0%, 35%, 69%) | |
| CIE LAB | lab(31.09, -17.47, 13.16) | |
| CIE LCH | lch(31.09, 21.87, 142.99) | |
| CIE XYZ | xyz(4.854, 6.689, 4.283) | |
| Decimal | 3362868 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #335034, 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 #335034 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.34:1 | Fail | Fail | Fail |
| Sample text | 8.98:1 | Pass | Pass | Pass |
| #335034 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.98:1 | Pass | Pass | Pass |
| Sample text | 2.34:1 | Fail | Fail | Fail |
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 #335034 looks to people with the most common types of color vision deficiency.
#514b32Protanopia
no red cones#4d4836Deuteranopia
no green cones#304e49Tritanopia
no blue cones#494949Achromatopsia
no color vision
CSS examples
.background { background-color: #335034; }
.text { color: #335034; }
.border { border: 2px solid #335034; }
.transparent { background-color: rgb(51 80 52 / 50%); }
.gradient { background: linear-gradient(to right, #335034, #335043); }
Similar colors
#3a533dHighlander#3b593aFicus#36482fPalm Leaf#415b36Turf#445533Zen Garden Olive#394c3bMountain View#355e3bHunter Green#2f441fForestry
Questions
- What color is #335034?
- #335034 is a dark, grayish green, closest to the named color Highlander. It belongs to the green family of colors.
- What is the RGB value of #335034?
- The RGB value is 51, 80, 52: 51 red, 80 green and 52 blue on a 0 to 255 scale.
- What is the complementary color of #335034?
- The complementary color is #50334F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #335034?
- White text. Black text has a contrast ratio of 2.34:1 and white text 8.98:1. WCAG asks for at least 4.5:1 for normal text.