#304234 color
The hex color #304234 is a dark, grayish green.
In the RGB color model it is made of 18.8% red, 25.9% green and 20.4% blue (48, 66, 52).
Its hue angle is 133°, with 16% saturation and 22% lightness. For print, the CMYK equivalent is 27% cyan, 0% magenta, 21% yellow and 74% black.
The closest named color is Mountain View (#394C3B), a difference of 3.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.74:1).
#304234 color codes
| HEX | #304234 | |
|---|---|---|
| RGB | rgb(48, 66, 52) | |
| RGB percent | rgb(18.8%, 25.9%, 20.4%) | |
| HSL | hsl(133, 16%, 22%) | |
| HSV / HSB | hsv(133, 27%, 26%) | |
| CMYK | cmyk(27%, 0%, 21%, 74%) | |
| CIE LAB | lab(26.08, -10.59, 6.23) | |
| CIE LCH | lch(26.08, 12.29, 149.55) | |
| CIE XYZ | xyz(3.787, 4.773, 3.97) | |
| Decimal | 3162676 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #304234, 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 #304234 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.95:1 | Fail | Fail | Fail |
| Sample text | 10.74:1 | Pass | Pass | Pass |
| #304234 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.74:1 | Pass | Pass | Pass |
| Sample text | 1.95: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 #304234 looks to people with the most common types of color vision deficiency.
#423f33Protanopia
no red cones#3f3d35Deuteranopia
no green cones#2e413eTritanopia
no blue cones#3e3e3eAchromatopsia
no color vision
CSS examples
.background { background-color: #304234; }
.text { color: #304234; }
.border { border: 2px solid #304234; }
.transparent { background-color: rgb(48 66 52 / 50%); }
.gradient { background: linear-gradient(to right, #304234, #30423d); }
Similar colors
#394c3bMountain View#264334Everglade#334d41Pine Needle#36482fPalm Leaf#3c463eDeep Forest#424f3bHōjicha#3a533dHighlander#444b43Ancient Pine
Closest common color name: Onyx.
Questions
- What color is #304234?
- #304234 is a dark, grayish green, closest to the named color Mountain View. It belongs to the gray family of colors.
- What is the RGB value of #304234?
- The RGB value is 48, 66, 52: 48 red, 66 green and 52 blue on a 0 to 255 scale.
- What is the complementary color of #304234?
- The complementary color is #42303E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #304234?
- White text. Black text has a contrast ratio of 1.95:1 and white text 10.74:1. WCAG asks for at least 4.5:1 for normal text.