#335D42 color
The hex color #335D42 is a dark, desaturated green.
In the RGB color model it is made of 20% red, 36.5% green and 25.9% blue (51, 93, 66).
Its hue angle is 141°, with 29% saturation and 28% lightness. For print, the CMYK equivalent is 45% cyan, 0% magenta, 29% yellow and 64% black.
The closest named color is Herbes de Provence (#3A5F49), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.54:1).
#335D42 color codes
| HEX | #335D42 | |
|---|---|---|
| RGB | rgb(51, 93, 66) | |
| RGB percent | rgb(20%, 36.5%, 25.9%) | |
| HSL | hsl(141, 29%, 28%) | |
| HSV / HSB | hsv(141, 45%, 36%) | |
| CMYK | cmyk(45%, 0%, 29%, 64%) | |
| CIE LAB | lab(35.84, -21.5, 11.03) | |
| CIE LCH | lch(35.84, 24.17, 152.84) | |
| CIE XYZ | xyz(6.263, 8.925, 6.546) | |
| Decimal | 3366210 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #335D42, 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 #335D42 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.79:1 | Fail | Fail | Fail |
| Sample text | 7.54:1 | Pass | Pass | Pass |
| #335D42 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.54:1 | Pass | Pass | Pass |
| Sample text | 2.79: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 #335D42 looks to people with the most common types of color vision deficiency.
#5d5740Protanopia
no red cones#565344Deuteranopia
no green cones#2a5c56Tritanopia
no blue cones#545454Achromatopsia
no color vision
CSS examples
.background { background-color: #335d42; }
.text { color: #335d42; }
.border { border: 2px solid #335d42; }
.transparent { background-color: rgb(51 93 66 / 50%); }
.gradient { background: linear-gradient(to right, #335d42, #335d57); }
Similar colors
#3a5f49Herbes de Provence#355e3bHunter Green#3b593aFicus#2a603bMidori#336644Forest Serenade#2b5d34Pine#3e5e4eEthereal Woods#3c663eJurassic Park
Questions
- What color is #335D42?
- #335D42 is a dark, desaturated green, closest to the named color Herbes de Provence. It belongs to the green family of colors.
- What is the RGB value of #335D42?
- The RGB value is 51, 93, 66: 51 red, 93 green and 66 blue on a 0 to 255 scale.
- What is the complementary color of #335D42?
- The complementary color is #5D334E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #335D42?
- White text. Black text has a contrast ratio of 2.79:1 and white text 7.54:1. WCAG asks for at least 4.5:1 for normal text.