#304F17 color

#304F17 rgb(48, 79, 23)
Shades of green

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
RGBrgb(48, 79, 23)
RGB percentrgb(18.8%, 31%, 9%)
HSLhsl(93, 55%, 20%)
HSV / HSBhsv(93, 71%, 31%)
CMYKcmyk(39%, 0%, 71%, 69%)
CIE LABlab(30.11, -22.42, 28.53)
CIE LCHlch(30.11, 36.28, 128.17)
CIE XYZxyz(4.169, 6.282, 1.803)
Decimal3165975
Short hexNone (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 #304F17RatioAAAAAAA large
Sample text2.26:1FailFailFail
Sample text9.31:1PassPassPass
#304F17 as text onRatioAAAAAAA large
Sample text9.31:1PassPassPass
Sample text2.26:1FailFailFail

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.

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); }
Background
Text color
Border

Similar colors

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.