#284917 color
The hex color #284917 is a very dark, moderate green.
In the RGB color model it is made of 15.7% red, 28.6% green and 9% blue (40, 73, 23).
Its hue angle is 100°, with 52% saturation and 19% lightness. For print, the CMYK equivalent is 45% cyan, 0% magenta, 68% yellow and 71% black.
The closest named color is Treetop Cathedral (#2F4A15), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 10.22:1).
#284917 color codes
| HEX | #284917 | |
|---|---|---|
| RGB | rgb(40, 73, 23) | |
| RGB percent | rgb(15.7%, 28.6%, 9%) | |
| HSL | hsl(100, 52%, 19%) | |
| HSV / HSB | hsv(100, 68%, 29%) | |
| CMYK | cmyk(45%, 0%, 68%, 71%) | |
| CIE LAB | lab(27.51, -22.61, 25.53) | |
| CIE LCH | lch(27.51, 34.11, 131.52) | |
| CIE XYZ | xyz(3.412, 5.278, 1.649) | |
| Decimal | 2640151 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #284917, 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 #284917 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.06:1 | Fail | Fail | Fail |
| Sample text | 10.22:1 | Pass | Pass | Pass |
| #284917 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.22:1 | Pass | Pass | Pass |
| Sample text | 2.06: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 #284917 looks to people with the most common types of color vision deficiency.
#4c4311Protanopia
no red cones#47401bDeuteranopia
no green cones#27463eTritanopia
no blue cones#414141Achromatopsia
no color vision
CSS examples
.background { background-color: #284917; }
.text { color: #284917; }
.border { border: 2px solid #284917; }
.transparent { background-color: rgb(40 73 23 / 50%); }
.gradient { background: linear-gradient(to right, #284917, #17491f); }
Similar colors
#2f4a15Treetop Cathedral#114411Realm of the Underworld#2f441fForestry#21421eMyrtle#0f521aMysterious Mixture#004400Woodland Grass#1c401fQueen of Trees#12390dMelancholia
Closest common color name: British Racing Green.
Questions
- What color is #284917?
- #284917 is a very dark, moderate green, closest to the named color Treetop Cathedral. It belongs to the green family of colors.
- What is the RGB value of #284917?
- The RGB value is 40, 73, 23: 40 red, 73 green and 23 blue on a 0 to 255 scale.
- What is the complementary color of #284917?
- The complementary color is #381749, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #284917?
- White text. Black text has a contrast ratio of 2.06:1 and white text 10.22:1. WCAG asks for at least 4.5:1 for normal text.