#28781F color

#28781F rgb(40, 120, 31)
Shades of green

The hex color #28781F is a dark, moderate green.

In the RGB color model it is made of 15.7% red, 47.1% green and 12.2% blue (40, 120, 31).

Its hue angle is 114°, with 59% saturation and 30% lightness. For print, the CMYK equivalent is 67% cyan, 0% magenta, 74% yellow and 53% black.

The closest named color is Poblano (#077F1B), a difference of 3 ΔE, a small difference.

White text is the more readable choice on this background (contrast 5.53:1).

#28781F color codes

HEX#28781F
RGBrgb(40, 120, 31)
RGB percentrgb(15.7%, 47.1%, 12.2%)
HSLhsl(114, 59%, 30%)
HSV / HSBhsv(114, 74%, 47%)
CMYKcmyk(67%, 0%, 74%, 53%)
CIE LABlab(44.21, -41.88, 39.72)
CIE LCHlch(44.21, 57.72, 136.51)
CIE XYZxyz(7.838, 13.982, 3.582)
Decimal2652191
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #28781F, 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 #28781FRatioAAAAAAA large
Sample text3.8:1FailFailPass
Sample text5.53:1PassFailPass
#28781F as text onRatioAAAAAAA large
Sample text5.53:1PassFailPass
Sample text3.8:1FailFailPass

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

CSS examples

.background { background-color: #28781f; }
.text { color: #28781f; }
.border { border: 2px solid #28781f; }
.transparent { background-color: rgb(40 120 31 / 50%); }
.gradient { background: linear-gradient(to right, #28781f, #1f7842); }
Background
Text color
Border

Similar colors

Questions

What color is #28781F?
#28781F is a dark, moderate green, closest to the named color Poblano. It belongs to the green family of colors.
What is the RGB value of #28781F?
The RGB value is 40, 120, 31: 40 red, 120 green and 31 blue on a 0 to 255 scale.
What is the complementary color of #28781F?
The complementary color is #6F1F78, found by rotating the hue 180° on the color wheel.
Is black or white text better on #28781F?
White text. Black text has a contrast ratio of 3.8:1 and white text 5.53:1. WCAG asks for at least 4.5:1 for normal text.