#304236 color
The hex color #304236 is a dark, grayish green.
In the RGB color model it is made of 18.8% red, 25.9% green and 21.2% blue (48, 66, 54).
Its hue angle is 140°, with 16% saturation and 22% lightness. For print, the CMYK equivalent is 27% cyan, 0% magenta, 18% yellow and 74% black.
The closest named color is Mountain View (#394C3B), a difference of 3.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.72:1).
#304236 color codes
| HEX | #304236 | |
|---|---|---|
| RGB | rgb(48, 66, 54) | |
| RGB percent | rgb(18.8%, 25.9%, 21.2%) | |
| HSL | hsl(140, 16%, 22%) | |
| HSV / HSB | hsv(140, 27%, 26%) | |
| CMYK | cmyk(27%, 0%, 18%, 74%) | |
| CIE LAB | lab(26.13, -10.14, 5) | |
| CIE LCH | lch(26.13, 11.3, 153.76) | |
| CIE XYZ | xyz(3.833, 4.791, 4.212) | |
| Decimal | 3162678 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #304236, 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 #304236 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.96:1 | Fail | Fail | Fail |
| Sample text | 10.72:1 | Pass | Pass | Pass |
| #304236 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.72: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 #304236 looks to people with the most common types of color vision deficiency.
#423f35Protanopia
no red cones#3f3d37Deuteranopia
no green cones#2d423fTritanopia
no blue cones#3e3e3eAchromatopsia
no color vision
CSS examples
.background { background-color: #304236; }
.text { color: #304236; }
.border { border: 2px solid #304236; }
.transparent { background-color: rgb(48 66 54 / 50%); }
.gradient { background: linear-gradient(to right, #304236, #30423f); }
Similar colors
#394c3bMountain View#264334Everglade#334d41Pine Needle#3c463eDeep Forest#36482fPalm Leaf#424f3bHōjicha#444b43Ancient Pine#3a533dHighlander
Closest common color name: Dark Slate Gray.
Questions
- What color is #304236?
- #304236 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 #304236?
- The RGB value is 48, 66, 54: 48 red, 66 green and 54 blue on a 0 to 255 scale.
- What is the complementary color of #304236?
- The complementary color is #42303C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #304236?
- White text. Black text has a contrast ratio of 1.96:1 and white text 10.72:1. WCAG asks for at least 4.5:1 for normal text.