#28781F color
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 | |
|---|---|---|
| RGB | rgb(40, 120, 31) | |
| RGB percent | rgb(15.7%, 47.1%, 12.2%) | |
| HSL | hsl(114, 59%, 30%) | |
| HSV / HSB | hsv(114, 74%, 47%) | |
| CMYK | cmyk(67%, 0%, 74%, 53%) | |
| CIE LAB | lab(44.21, -41.88, 39.72) | |
| CIE LCH | lch(44.21, 57.72, 136.51) | |
| CIE XYZ | xyz(7.838, 13.982, 3.582) | |
| Decimal | 2652191 | |
| Short hex | None (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 #28781F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.8:1 | Fail | Fail | Pass |
| Sample text | 5.53:1 | Pass | Fail | Pass |
| #28781F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.53:1 | Pass | Fail | Pass |
| Sample text | 3.8:1 | Fail | Fail | Pass |
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.
#7b6d10Protanopia
no red cones#716628Deuteranopia
no green cones#197466Tritanopia
no blue cones#686868Achromatopsia
no color vision
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); }
Similar colors
#077f1bPoblano#2e7d32Lush Paradise#008000Green#008000Hulk#3d7016Forest Empress#087e34Pharmaceutical Green#007733Forestial#008400Lucky Clover
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.