#304239 color
The hex color #304239 is a dark, grayish spring green.
In the RGB color model it is made of 18.8% red, 25.9% green and 22.4% blue (48, 66, 57).
Its hue angle is 150°, with 16% saturation and 22% lightness. For print, the CMYK equivalent is 27% cyan, 0% magenta, 14% yellow and 74% black.
The closest named color is Deep Forest (#3C463E), a difference of 4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.69:1).
#304239 color codes
| HEX | #304239 | |
|---|---|---|
| RGB | rgb(48, 66, 57) | |
| RGB percent | rgb(18.8%, 25.9%, 22.4%) | |
| HSL | hsl(150, 16%, 22%) | |
| HSV / HSB | hsv(150, 27%, 26%) | |
| CMYK | cmyk(27%, 0%, 14%, 74%) | |
| CIE LAB | lab(26.22, -9.43, 3.16) | |
| CIE LCH | lch(26.22, 9.94, 161.49) | |
| CIE XYZ | xyz(3.905, 4.82, 4.595) | |
| Decimal | 3162681 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #304239, 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 #304239 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.96:1 | Fail | Fail | Fail |
| Sample text | 10.69:1 | Pass | Pass | Pass |
| #304239 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.69:1 | Pass | Pass | Pass |
| Sample text | 1.96: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 #304239 looks to people with the most common types of color vision deficiency.
#413f39Protanopia
no red cones#3e3d3aDeuteranopia
no green cones#2c423fTritanopia
no blue cones#3e3e3eAchromatopsia
no color vision
CSS examples
.background { background-color: #304239; }
.text { color: #304239; }
.border { border: 2px solid #304239; }
.transparent { background-color: rgb(48 66 57 / 50%); }
.gradient { background: linear-gradient(to right, #304239, #304242); }
Similar colors
#3c463eDeep Forest#334d41Pine Needle#264334Everglade#394c3bMountain View#444b43Ancient Pine#3c4f4eNight Watch#293432Aztec#33534bHunter
Closest common color name: Dark Slate Gray.
Questions
- What color is #304239?
- #304239 is a dark, grayish spring green, closest to the named color Deep Forest. It belongs to the gray family of colors.
- What is the RGB value of #304239?
- The RGB value is 48, 66, 57: 48 red, 66 green and 57 blue on a 0 to 255 scale.
- What is the complementary color of #304239?
- The complementary color is #423039, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #304239?
- White text. Black text has a contrast ratio of 1.96:1 and white text 10.69:1. WCAG asks for at least 4.5:1 for normal text.