#284222 color
The hex color #284222 is a very dark, desaturated green.
In the RGB color model it is made of 15.7% red, 25.9% green and 13.3% blue (40, 66, 34).
Its hue angle is 109°, with 32% saturation and 20% lightness. For print, the CMYK equivalent is 39% cyan, 0% magenta, 48% yellow and 74% black.
The closest named color is Myrtle (#21421E), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.1:1).
#284222 color codes
| HEX | #284222 | |
|---|---|---|
| RGB | rgb(40, 66, 34) | |
| RGB percent | rgb(15.7%, 25.9%, 13.3%) | |
| HSL | hsl(109, 32%, 20%) | |
| HSV / HSB | hsv(109, 48%, 26%) | |
| CMYK | cmyk(39%, 0%, 48%, 74%) | |
| CIE LAB | lab(25.15, -17.4, 16.38) | |
| CIE LCH | lch(25.15, 23.9, 136.72) | |
| CIE XYZ | xyz(3.112, 4.463, 2.211) | |
| Decimal | 2638370 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #284222, 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 #284222 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.89:1 | Fail | Fail | Fail |
| Sample text | 11.1:1 | Pass | Pass | Pass |
| #284222 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.1:1 | Pass | Pass | Pass |
| Sample text | 1.89: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 #284222 looks to people with the most common types of color vision deficiency.
#443d20Protanopia
no red cones#403b24Deuteranopia
no green cones#26403aTritanopia
no blue cones#3c3c3cAchromatopsia
no color vision
CSS examples
.background { background-color: #284222; }
.text { color: #284222; }
.border { border: 2px solid #284222; }
.transparent { background-color: rgb(40 66 34 / 50%); }
.gradient { background: linear-gradient(to right, #284222, #22422c); }
Similar colors
#21421eMyrtle#2f441fForestry#1c401fQueen of Trees#36482fPalm Leaf#12390dMelancholia#223311Darkest Forest#113311Dark Serpent#17462eZucchini
Closest common color name: British Racing Green.
Questions
- What color is #284222?
- #284222 is a very dark, desaturated green, closest to the named color Myrtle. It belongs to the green family of colors.
- What is the RGB value of #284222?
- The RGB value is 40, 66, 34: 40 red, 66 green and 34 blue on a 0 to 255 scale.
- What is the complementary color of #284222?
- The complementary color is #3C2242, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #284222?
- White text. Black text has a contrast ratio of 1.89:1 and white text 11.1:1. WCAG asks for at least 4.5:1 for normal text.