#334B1F color
The hex color #334B1F is a dark, desaturated green.
In the RGB color model it is made of 20% red, 29.4% green and 12.2% blue (51, 75, 31).
Its hue angle is 93°, with 42% saturation and 21% lightness. For print, the CMYK equivalent is 32% cyan, 0% magenta, 59% yellow and 71% black.
The closest named color is Treetop Cathedral (#2F4A15), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.69:1).
#334B1F color codes
| HEX | #334B1F | |
|---|---|---|
| RGB | rgb(51, 75, 31) | |
| RGB percent | rgb(20%, 29.4%, 12.2%) | |
| HSL | hsl(93, 42%, 21%) | |
| HSV / HSB | hsv(93, 59%, 29%) | |
| CMYK | cmyk(32%, 0%, 59%, 71%) | |
| CIE LAB | lab(28.99, -18.17, 23.06) | |
| CIE LCH | lch(28.99, 29.36, 128.23) | |
| CIE XYZ | xyz(4.129, 5.835, 2.205) | |
| Decimal | 3361567 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #334B1F, 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 #334B1F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.17:1 | Fail | Fail | Fail |
| Sample text | 9.69:1 | Pass | Pass | Pass |
| #334B1F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.69:1 | Pass | Pass | Pass |
| Sample text | 2.17: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 #334B1F looks to people with the most common types of color vision deficiency.
#4e461bProtanopia
no red cones#4b4422Deuteranopia
no green cones#334841Tritanopia
no blue cones#444444Achromatopsia
no color vision
CSS examples
.background { background-color: #334b1f; }
.text { color: #334b1f; }
.border { border: 2px solid #334b1f; }
.transparent { background-color: rgb(51 75 31 / 50%); }
.gradient { background: linear-gradient(to right, #334b1f, #1f4b21); }
Similar colors
#2f4a15Treetop Cathedral#2f441fForestry#21421eMyrtle#445533Zen Garden Olive#36482fPalm Leaf#415b36Turf#114411Realm of the Underworld#1c401fQueen of Trees
Closest common color name: Army Green.
Questions
- What color is #334B1F?
- #334B1F is a dark, desaturated green, closest to the named color Treetop Cathedral. It belongs to the green family of colors.
- What is the RGB value of #334B1F?
- The RGB value is 51, 75, 31: 51 red, 75 green and 31 blue on a 0 to 255 scale.
- What is the complementary color of #334B1F?
- The complementary color is #371F4B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #334B1F?
- White text. Black text has a contrast ratio of 2.17:1 and white text 9.69:1. WCAG asks for at least 4.5:1 for normal text.