#304D3B color
The hex color #304D3B is a dark, grayish green.
In the RGB color model it is made of 18.8% red, 30.2% green and 23.1% blue (48, 77, 59).
Its hue angle is 143°, with 23% saturation and 25% lightness. For print, the CMYK equivalent is 38% cyan, 0% magenta, 23% yellow and 70% black.
The closest named color is Pine Needle (#334D41), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.33:1).
#304D3B color codes
| HEX | #304D3B | |
|---|---|---|
| RGB | rgb(48, 77, 59) | |
| RGB percent | rgb(18.8%, 30.2%, 23.1%) | |
| HSL | hsl(143, 23%, 25%) | |
| HSV / HSB | hsv(143, 38%, 30%) | |
| CMYK | cmyk(38%, 0%, 23%, 70%) | |
| CIE LAB | lab(30.04, -15.42, 7.29) | |
| CIE LCH | lch(30.04, 17.05, 154.68) | |
| CIE XYZ | xyz(4.662, 6.252, 5.098) | |
| Decimal | 3165499 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #304D3B, 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 #304D3B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.25:1 | Fail | Fail | Fail |
| Sample text | 9.33:1 | Pass | Pass | Pass |
| #304D3B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.33:1 | Pass | Pass | Pass |
| Sample text | 2.25: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 #304D3B looks to people with the most common types of color vision deficiency.
#4d493aProtanopia
no red cones#48453cDeuteranopia
no green cones#2a4c48Tritanopia
no blue cones#474747Achromatopsia
no color vision
CSS examples
.background { background-color: #304d3b; }
.text { color: #304d3b; }
.border { border: 2px solid #304d3b; }
.transparent { background-color: rgb(48 77 59 / 50%); }
.gradient { background: linear-gradient(to right, #304d3b, #304d49); }
Similar colors
#334d41Pine Needle#3a533dHighlander#394c3bMountain View#264334Everglade#36482fPalm Leaf#3e594cPlantation#33534bHunter#17462eZucchini
Closest common color name: Hunter Green.
Questions
- What color is #304D3B?
- #304D3B 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 #304D3B?
- The RGB value is 48, 77, 59: 48 red, 77 green and 59 blue on a 0 to 255 scale.
- What is the complementary color of #304D3B?
- The complementary color is #4D3042, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #304D3B?
- White text. Black text has a contrast ratio of 2.25:1 and white text 9.33:1. WCAG asks for at least 4.5:1 for normal text.