#28970C color

#28970C rgb(40, 151, 12)
Shades of green

The hex color #28970C is a dark, vivid green.

In the RGB color model it is made of 15.7% red, 59.2% green and 4.7% blue (40, 151, 12).

Its hue angle is 108°, with 85% saturation and 32% lightness. For print, the CMYK equivalent is 74% cyan, 0% magenta, 92% yellow and 41% black.

The closest named color is Sacro Bosco (#229911), a difference of 0.8 ΔE, which is barely visible.

Black text is the more readable choice on this background (contrast 5.52:1).

#28970C color codes

HEX#28970C
RGBrgb(40, 151, 12)
RGB percentrgb(15.7%, 59.2%, 4.7%)
HSLhsl(108, 85%, 32%)
HSV / HSBhsv(108, 92%, 59%)
CMYKcmyk(74%, 0%, 92%, 41%)
CIE LABlab(54.67, -53.72, 54.92)
CIE LCHlch(54.67, 76.82, 134.37)
CIE XYZxyz(12.007, 22.61, 4.079)
Decimal2660108
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #28970C, 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 #28970CRatioAAAAAAA large
Sample text5.52:1PassFailPass
Sample text3.8:1FailFailPass
#28970C as text onRatioAAAAAAA large
Sample text3.8:1FailFailPass
Sample text5.52:1PassFailPass

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 #28970C looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #28970c; }
.text { color: #28970c; }
.border { border: 2px solid #28970c; }
.transparent { background-color: rgb(40 151 12 / 50%); }
.gradient { background: linear-gradient(to right, #28970c, #0c9735); }
Background
Text color
Border

Similar colors

Closest common color name: Forest Green.

Questions

What color is #28970C?
#28970C is a dark, vivid green, closest to the named color Sacro Bosco. It belongs to the green family of colors.
What is the RGB value of #28970C?
The RGB value is 40, 151, 12: 40 red, 151 green and 12 blue on a 0 to 255 scale.
What is the complementary color of #28970C?
The complementary color is #7B0C97, found by rotating the hue 180° on the color wheel.
Is black or white text better on #28970C?
Black text. Black text has a contrast ratio of 5.52:1 and white text 3.8:1. WCAG asks for at least 4.5:1 for normal text.