#303E31 color
The hex color #303E31 is a dark, grayish green.
In the RGB color model it is made of 18.8% red, 24.3% green and 19.2% blue (48, 62, 49).
Its hue angle is 124°, with 13% saturation and 22% lightness. For print, the CMYK equivalent is 23% cyan, 0% magenta, 21% yellow and 76% black.
The closest named color is Deep Forest (#3C463E), a difference of 4.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.3:1).
#303E31 color codes
| HEX | #303E31 | |
|---|---|---|
| RGB | rgb(48, 62, 49) | |
| RGB percent | rgb(18.8%, 24.3%, 19.2%) | |
| HSL | hsl(124, 13%, 22%) | |
| HSV / HSB | hsv(124, 23%, 24%) | |
| CMYK | cmyk(23%, 0%, 21%, 76%) | |
| CIE LAB | lab(24.62, -8.83, 6.15) | |
| CIE LCH | lch(24.62, 10.76, 145.14) | |
| CIE XYZ | xyz(3.496, 4.295, 3.55) | |
| Decimal | 3161649 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #303E31, 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 #303E31 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.86:1 | Fail | Fail | Fail |
| Sample text | 11.3:1 | Pass | Pass | Pass |
| #303E31 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.3:1 | Pass | Pass | Pass |
| Sample text | 1.86: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 #303E31 looks to people with the most common types of color vision deficiency.
#3e3b30Protanopia
no red cones#3c3a32Deuteranopia
no green cones#2f3d3aTritanopia
no blue cones#3a3a3aAchromatopsia
no color vision
CSS examples
.background { background-color: #303e31; }
.text { color: #303e31; }
.border { border: 2px solid #303e31; }
.transparent { background-color: rgb(48 62 49 / 50%); }
.gradient { background: linear-gradient(to right, #303e31, #303e38); }
Similar colors
#3c463eDeep Forest#394c3bMountain View#264334Everglade#36482fPalm Leaf#334d41Pine Needle#424f3bHōjicha#2b322dTerminal Black#444b43Ancient Pine
Closest common color name: Onyx.
Questions
- What color is #303E31?
- #303E31 is a dark, grayish green, closest to the named color Deep Forest. It belongs to the gray family of colors.
- What is the RGB value of #303E31?
- The RGB value is 48, 62, 49: 48 red, 62 green and 49 blue on a 0 to 255 scale.
- What is the complementary color of #303E31?
- The complementary color is #3E303D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #303E31?
- White text. Black text has a contrast ratio of 1.86:1 and white text 11.3:1. WCAG asks for at least 4.5:1 for normal text.