#304F17 color
The hex color #304F17 is a dark, moderate green.
In the RGB color model it is made of 18.8% red, 31% green and 9% blue (48, 79, 23).
Its hue angle is 93°, with 55% saturation and 20% lightness. For print, the CMYK equivalent is 39% cyan, 0% magenta, 71% yellow and 69% black.
The closest named color is Treetop Cathedral (#2F4A15), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.31:1).
#304F17 color codes
| HEX | #304F17 | |
|---|---|---|
| RGB | rgb(48, 79, 23) | |
| RGB percent | rgb(18.8%, 31%, 9%) | |
| HSL | hsl(93, 55%, 20%) | |
| HSV / HSB | hsv(93, 71%, 31%) | |
| CMYK | cmyk(39%, 0%, 71%, 69%) | |
| CIE LAB | lab(30.11, -22.42, 28.53) | |
| CIE LCH | lch(30.11, 36.28, 128.17) | |
| CIE XYZ | xyz(4.169, 6.282, 1.803) | |
| Decimal | 3165975 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #304F17, 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 #304F17 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.26:1 | Fail | Fail | Fail |
| Sample text | 9.31:1 | Pass | Pass | Pass |
| #304F17 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.31:1 | Pass | Pass | Pass |
| Sample text | 2.26: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 #304F17 looks to people with the most common types of color vision deficiency.
#524910Protanopia
no red cones#4e461cDeuteranopia
no green cones#304c43Tritanopia
no blue cones#474747Achromatopsia
no color vision
CSS examples
.background { background-color: #304f17; }
.text { color: #304f17; }
.border { border: 2px solid #304f17; }
.transparent { background-color: rgb(48 79 23 / 50%); }
.gradient { background: linear-gradient(to right, #304f17, #174f1a); }
Similar colors
#2f4a15Treetop Cathedral#335500Deep Forestial Escapade#2f441fForestry#115511Jungle Jam#3c4d03Godzilla#0f521aMysterious Mixture#114411Realm of the Underworld#115500Donegal Green
Closest common color name: Army Green.
Questions
- What color is #304F17?
- #304F17 is a dark, moderate green, closest to the named color Treetop Cathedral. It belongs to the green family of colors.
- What is the RGB value of #304F17?
- The RGB value is 48, 79, 23: 48 red, 79 green and 23 blue on a 0 to 255 scale.
- What is the complementary color of #304F17?
- The complementary color is #36174F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #304F17?
- White text. Black text has a contrast ratio of 2.26:1 and white text 9.31:1. WCAG asks for at least 4.5:1 for normal text.