#304D4A color
The hex color #304D4A is a dark, grayish spring green.
In the RGB color model it is made of 18.8% red, 30.2% green and 29% blue (48, 77, 74).
Its hue angle is 174°, with 23% saturation and 25% lightness. For print, the CMYK equivalent is 38% cyan, 0% magenta, 4% yellow and 70% black.
The closest named color is Dark Slate Gray (#2F4F4F), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.19:1).
#304D4A color codes
| HEX | #304D4A | |
|---|---|---|
| RGB | rgb(48, 77, 74) | |
| RGB percent | rgb(18.8%, 30.2%, 29%) | |
| HSL | hsl(174, 23%, 25%) | |
| HSV / HSB | hsv(174, 38%, 30%) | |
| CMYK | cmyk(38%, 0%, 4%, 70%) | |
| CIE LAB | lab(30.47, -11.62, -1.67) | |
| CIE LCH | lch(30.47, 11.74, 188.19) | |
| CIE XYZ | xyz(5.108, 6.43, 7.449) | |
| Decimal | 3165514 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #304D4A, 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 #304D4A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.29:1 | Fail | Fail | Fail |
| Sample text | 9.19:1 | Pass | Pass | Pass |
| #304D4A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.19:1 | Pass | Pass | Pass |
| Sample text | 2.29: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 #304D4A looks to people with the most common types of color vision deficiency.
#4a4a4aProtanopia
no red cones#45464aDeuteranopia
no green cones#264e4cTritanopia
no blue cones#484848Achromatopsia
no color vision
CSS examples
.background { background-color: #304d4a; }
.text { color: #304d4a; }
.border { border: 2px solid #304d4a; }
.transparent { background-color: rgb(48 77 74 / 50%); }
.gradient { background: linear-gradient(to right, #304d4a, #30414d); }
Similar colors
#2f4f4fDark Slate Gray#33534bHunter#3c4f4eNight Watch#315955Enchanting Ivy#334d41Pine Needle#224347Emerald Forest#27454aMysterious Waters#3a5b52Iridescent
Questions
- What color is #304D4A?
- #304D4A is a dark, grayish spring green, closest to the named color Dark Slate Gray. It belongs to the gray family of colors.
- What is the RGB value of #304D4A?
- The RGB value is 48, 77, 74: 48 red, 77 green and 74 blue on a 0 to 255 scale.
- What is the complementary color of #304D4A?
- The complementary color is #4D3033, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #304D4A?
- White text. Black text has a contrast ratio of 2.29:1 and white text 9.19:1. WCAG asks for at least 4.5:1 for normal text.