#334D3F color
The hex color #334D3F is a dark, grayish green.
In the RGB color model it is made of 20% red, 30.2% green and 24.7% blue (51, 77, 63).
Its hue angle is 148°, with 20% saturation and 25% lightness. For print, the CMYK equivalent is 34% cyan, 0% magenta, 18% yellow and 70% black.
The closest named color is Pine Needle (#334D41), a difference of 0.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.23:1).
#334D3F color codes
| HEX | #334D3F | |
|---|---|---|
| RGB | rgb(51, 77, 63) | |
| RGB percent | rgb(20%, 30.2%, 24.7%) | |
| HSL | hsl(148, 20%, 25%) | |
| HSV / HSB | hsv(148, 34%, 30%) | |
| CMYK | cmyk(34%, 0%, 18%, 70%) | |
| CIE LAB | lab(30.33, -13.4, 5.18) | |
| CIE LCH | lch(30.33, 14.36, 158.86) | |
| CIE XYZ | xyz(4.916, 6.37, 5.672) | |
| Decimal | 3362111 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #334D3F, 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 #334D3F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.27:1 | Fail | Fail | Fail |
| Sample text | 9.23:1 | Pass | Pass | Pass |
| #334D3F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.23:1 | Pass | Pass | Pass |
| Sample text | 2.27: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 #334D3F looks to people with the most common types of color vision deficiency.
#4c493eProtanopia
no red cones#484640Deuteranopia
no green cones#2e4d49Tritanopia
no blue cones#474747Achromatopsia
no color vision
CSS examples
.background { background-color: #334d3f; }
.text { color: #334d3f; }
.border { border: 2px solid #334d3f; }
.transparent { background-color: rgb(51 77 63 / 50%); }
.gradient { background: linear-gradient(to right, #334d3f, #334d4c); }
Similar colors
#334d41Pine Needle#394c3bMountain View#264334Everglade#33534bHunter#3a533dHighlander#3e594cPlantation#424f3bHōjicha#3a5b52Iridescent
Closest common color name: Dark Slate Gray.
Questions
- What color is #334D3F?
- #334D3F is a dark, grayish green, closest to the named color Pine Needle. It belongs to the green family of colors.
- What is the RGB value of #334D3F?
- The RGB value is 51, 77, 63: 51 red, 77 green and 63 blue on a 0 to 255 scale.
- What is the complementary color of #334D3F?
- The complementary color is #4D3341, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #334D3F?
- White text. Black text has a contrast ratio of 2.27:1 and white text 9.23:1. WCAG asks for at least 4.5:1 for normal text.