#334C28 color
The hex color #334C28 is a dark, desaturated green.
In the RGB color model it is made of 20% red, 29.8% green and 15.7% blue (51, 76, 40).
Its hue angle is 102°, with 31% saturation and 23% lightness. For print, the CMYK equivalent is 33% cyan, 0% magenta, 47% yellow and 70% black.
The closest named color is Forestry (#2F441F), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.52:1).
#334C28 color codes
| HEX | #334C28 | |
|---|---|---|
| RGB | rgb(51, 76, 40) | |
| RGB percent | rgb(20%, 29.8%, 15.7%) | |
| HSL | hsl(102, 31%, 23%) | |
| HSV / HSB | hsv(102, 47%, 30%) | |
| CMYK | cmyk(33%, 0%, 47%, 70%) | |
| CIE LAB | lab(29.48, -17.41, 18.4) | |
| CIE LCH | lch(29.48, 25.33, 133.43) | |
| CIE XYZ | xyz(4.333, 6.026, 2.942) | |
| Decimal | 3361832 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #334C28, 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 #334C28 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.21:1 | Fail | Fail | Fail |
| Sample text | 9.52:1 | Pass | Pass | Pass |
| #334C28 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.52:1 | Pass | Pass | Pass |
| Sample text | 2.21: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 #334C28 looks to people with the most common types of color vision deficiency.
#4e4725Protanopia
no red cones#4b452aDeuteranopia
no green cones#324a43Tritanopia
no blue cones#454545Achromatopsia
no color vision
CSS examples
.background { background-color: #334c28; }
.text { color: #334c28; }
.border { border: 2px solid #334c28; }
.transparent { background-color: rgb(51 76 40 / 50%); }
.gradient { background: linear-gradient(to right, #334c28, #284c2f); }
Similar colors
#2f441fForestry#36482fPalm Leaf#21421eMyrtle#445533Zen Garden Olive#2f4a15Treetop Cathedral#3b593aFicus#415b36Turf#1c401fQueen of Trees
Closest common color name: Hunter Green.
Questions
- What color is #334C28?
- #334C28 is a dark, desaturated green, closest to the named color Forestry. It belongs to the green family of colors.
- What is the RGB value of #334C28?
- The RGB value is 51, 76, 40: 51 red, 76 green and 40 blue on a 0 to 255 scale.
- What is the complementary color of #334C28?
- The complementary color is #41284C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #334C28?
- White text. Black text has a contrast ratio of 2.21:1 and white text 9.52:1. WCAG asks for at least 4.5:1 for normal text.