#304B3D color
The hex color #304B3D is a dark, grayish green.
In the RGB color model it is made of 18.8% red, 29.4% green and 23.9% blue (48, 75, 61).
Its hue angle is 149°, with 22% saturation and 24% lightness. For print, the CMYK equivalent is 36% cyan, 0% magenta, 19% yellow and 71% black.
The closest named color is Pine Needle (#334D41), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.55:1).
#304B3D color codes
| HEX | #304B3D | |
|---|---|---|
| RGB | rgb(48, 75, 61) | |
| RGB percent | rgb(18.8%, 29.4%, 23.9%) | |
| HSL | hsl(149, 22%, 24%) | |
| HSV / HSB | hsv(149, 36%, 29%) | |
| CMYK | cmyk(36%, 0%, 19%, 71%) | |
| CIE LAB | lab(29.41, -13.81, 5.12) | |
| CIE LCH | lch(29.41, 14.72, 159.65) | |
| CIE XYZ | xyz(4.577, 5.997, 5.33) | |
| Decimal | 3164989 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #304B3D, 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 #304B3D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.2:1 | Fail | Fail | Fail |
| Sample text | 9.55:1 | Pass | Pass | Pass |
| #304B3D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.55:1 | Pass | Pass | Pass |
| Sample text | 2.2: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 #304B3D looks to people with the most common types of color vision deficiency.
#4a473cProtanopia
no red cones#46443eDeuteranopia
no green cones#2a4b47Tritanopia
no blue cones#454545Achromatopsia
no color vision
CSS examples
.background { background-color: #304b3d; }
.text { color: #304b3d; }
.border { border: 2px solid #304b3d; }
.transparent { background-color: rgb(48 75 61 / 50%); }
.gradient { background: linear-gradient(to right, #304b3d, #304b4b); }
Similar colors
#334d41Pine Needle#264334Everglade#394c3bMountain View#33534bHunter#3a533dHighlander#3e594cPlantation#36482fPalm Leaf#424f3bHōjicha
Closest common color name: Dark Slate Gray.
Questions
- What color is #304B3D?
- #304B3D is a dark, grayish green, closest to the named color Pine Needle. It belongs to the green family of colors.
- What is the RGB value of #304B3D?
- The RGB value is 48, 75, 61: 48 red, 75 green and 61 blue on a 0 to 255 scale.
- What is the complementary color of #304B3D?
- The complementary color is #4B303E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #304B3D?
- White text. Black text has a contrast ratio of 2.2:1 and white text 9.55:1. WCAG asks for at least 4.5:1 for normal text.