#304334 color
The hex color #304334 is a dark, grayish green.
In the RGB color model it is made of 18.8% red, 26.3% green and 20.4% blue (48, 67, 52).
Its hue angle is 133°, with 17% saturation and 23% lightness. For print, the CMYK equivalent is 28% cyan, 0% magenta, 22% yellow and 74% black.
The closest named color is Mountain View (#394C3B), a difference of 3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.62:1).
#304334 color codes
| HEX | #304334 | |
|---|---|---|
| RGB | rgb(48, 67, 52) | |
| RGB percent | rgb(18.8%, 26.3%, 20.4%) | |
| HSL | hsl(133, 17%, 23%) | |
| HSV / HSB | hsv(133, 28%, 26%) | |
| CMYK | cmyk(28%, 0%, 22%, 74%) | |
| CIE LAB | lab(26.42, -11.19, 6.71) | |
| CIE LCH | lch(26.42, 13.05, 149.06) | |
| CIE XYZ | xyz(3.846, 4.89, 3.989) | |
| Decimal | 3162932 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #304334, 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 #304334 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.98:1 | Fail | Fail | Fail |
| Sample text | 10.62:1 | Pass | Pass | Pass |
| #304334 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.62:1 | Pass | Pass | Pass |
| Sample text | 1.98: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 #304334 looks to people with the most common types of color vision deficiency.
#434033Protanopia
no red cones#403e35Deuteranopia
no green cones#2d423fTritanopia
no blue cones#3e3e3eAchromatopsia
no color vision
CSS examples
.background { background-color: #304334; }
.text { color: #304334; }
.border { border: 2px solid #304334; }
.transparent { background-color: rgb(48 67 52 / 50%); }
.gradient { background: linear-gradient(to right, #304334, #30433e); }
Similar colors
#394c3bMountain View#264334Everglade#334d41Pine Needle#36482fPalm Leaf#424f3bHōjicha#3c463eDeep Forest#3a533dHighlander#33534bHunter
Closest common color name: Dark Slate Gray.
Questions
- What color is #304334?
- #304334 is a dark, grayish green, closest to the named color Mountain View. It belongs to the green family of colors.
- What is the RGB value of #304334?
- The RGB value is 48, 67, 52: 48 red, 67 green and 52 blue on a 0 to 255 scale.
- What is the complementary color of #304334?
- The complementary color is #43303F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #304334?
- White text. Black text has a contrast ratio of 1.98:1 and white text 10.62:1. WCAG asks for at least 4.5:1 for normal text.