#334D4A color
The hex color #334D4A is a dark, grayish spring green.
In the RGB color model it is made of 20% red, 30.2% green and 29% blue (51, 77, 74).
Its hue angle is 173°, with 20% saturation and 25% lightness. For print, the CMYK equivalent is 34% cyan, 0% magenta, 4% yellow and 70% black.
The closest named color is Dark Slate Gray (#2F4F4F), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.13:1).
#334D4A color codes
| HEX | #334D4A | |
|---|---|---|
| RGB | rgb(51, 77, 74) | |
| RGB percent | rgb(20%, 30.2%, 29%) | |
| HSL | hsl(173, 20%, 25%) | |
| HSV / HSB | hsv(173, 34%, 30%) | |
| CMYK | cmyk(34%, 0%, 4%, 70%) | |
| CIE LAB | lab(30.65, -10.62, -1.39) | |
| CIE LCH | lch(30.65, 10.71, 187.44) | |
| CIE XYZ | xyz(5.255, 6.506, 7.456) | |
| Decimal | 3362122 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #334D4A, 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 #334D4A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.3:1 | Fail | Fail | Fail |
| Sample text | 9.13:1 | Pass | Pass | Pass |
| #334D4A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.13:1 | Pass | Pass | Pass |
| Sample text | 2.3: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 #334D4A looks to people with the most common types of color vision deficiency.
#4a4a4aProtanopia
no red cones#46474aDeuteranopia
no green cones#2a4e4cTritanopia
no blue cones#484848Achromatopsia
no color vision
CSS examples
.background { background-color: #334d4a; }
.text { color: #334d4a; }
.border { border: 2px solid #334d4a; }
.transparent { background-color: rgb(51 77 74 / 50%); }
.gradient { background: linear-gradient(to right, #334d4a, #33434d); }
Similar colors
#2f4f4fDark Slate Gray#3c4f4eNight Watch#33534bHunter#334d41Pine Needle#315955Enchanting Ivy#27454aMysterious Waters#224347Emerald Forest#2d454aLittle Mermaid
Questions
- What color is #334D4A?
- #334D4A is a dark, grayish spring green, closest to the named color Dark Slate Gray. It belongs to the gray family of colors.
- What is the RGB value of #334D4A?
- The RGB value is 51, 77, 74: 51 red, 77 green and 74 blue on a 0 to 255 scale.
- What is the complementary color of #334D4A?
- The complementary color is #4D3336, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #334D4A?
- White text. Black text has a contrast ratio of 2.3:1 and white text 9.13:1. WCAG asks for at least 4.5:1 for normal text.