#335D38 color
The hex color #335D38 is a dark, desaturated green.
In the RGB color model it is made of 20% red, 36.5% green and 22% blue (51, 93, 56).
Its hue angle is 127°, with 29% saturation and 28% lightness. For print, the CMYK equivalent is 45% cyan, 0% magenta, 40% yellow and 64% black.
The closest named color is Hunter Green (#355E3B), a difference of 0.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.6:1).
#335D38 color codes
| HEX | #335D38 | |
|---|---|---|
| RGB | rgb(51, 93, 56) | |
| RGB percent | rgb(20%, 36.5%, 22%) | |
| HSL | hsl(127, 29%, 28%) | |
| HSV / HSB | hsv(127, 45%, 36%) | |
| CMYK | cmyk(45%, 0%, 40%, 64%) | |
| CIE LAB | lab(35.63, -23.54, 16.8) | |
| CIE LCH | lch(35.63, 28.92, 144.48) | |
| CIE XYZ | xyz(5.993, 8.818, 5.127) | |
| Decimal | 3366200 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #335D38, 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 #335D38 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.76:1 | Fail | Fail | Fail |
| Sample text | 7.6:1 | Pass | Pass | Pass |
| #335D38 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.6:1 | Pass | Pass | Pass |
| Sample text | 2.76: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 #335D38 looks to people with the most common types of color vision deficiency.
#5e5635Protanopia
no red cones#58523aDeuteranopia
no green cones#2d5b54Tritanopia
no blue cones#545454Achromatopsia
no color vision
CSS examples
.background { background-color: #335d38; }
.text { color: #335d38; }
.border { border: 2px solid #335d38; }
.transparent { background-color: rgb(51 93 56 / 50%); }
.gradient { background: linear-gradient(to right, #335d38, #335d4d); }
Similar colors
#355e3bHunter Green#2b5d34Pine#2a603bMidori#3b593aFicus#3c663eJurassic Park#336644Forest Serenade#415b36Turf#3e6334Greenhouse
Questions
- What color is #335D38?
- #335D38 is a dark, desaturated green, closest to the named color Hunter Green. It belongs to the green family of colors.
- What is the RGB value of #335D38?
- The RGB value is 51, 93, 56: 51 red, 93 green and 56 blue on a 0 to 255 scale.
- What is the complementary color of #335D38?
- The complementary color is #5D3358, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #335D38?
- White text. Black text has a contrast ratio of 2.76:1 and white text 7.6:1. WCAG asks for at least 4.5:1 for normal text.