#284C2C color
The hex color #284C2C is a dark, desaturated green.
In the RGB color model it is made of 15.7% red, 29.8% green and 17.3% blue (40, 76, 44).
Its hue angle is 127°, with 31% saturation and 23% lightness. For print, the CMYK equivalent is 47% cyan, 0% magenta, 42% yellow and 70% black.
The closest named color is Myrtle (#21421E), a difference of 3.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.72:1).
#284C2C color codes
| HEX | #284C2C | |
|---|---|---|
| RGB | rgb(40, 76, 44) | |
| RGB percent | rgb(15.7%, 29.8%, 17.3%) | |
| HSL | hsl(127, 31%, 23%) | |
| HSV / HSB | hsv(127, 47%, 30%) | |
| CMYK | cmyk(47%, 0%, 42%, 70%) | |
| CIE LAB | lab(28.91, -20.9, 15.09) | |
| CIE LCH | lch(28.91, 25.78, 144.16) | |
| CIE XYZ | xyz(3.914, 5.802, 3.296) | |
| Decimal | 2640940 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #284C2C, 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 #284C2C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.16:1 | Fail | Fail | Fail |
| Sample text | 9.72:1 | Pass | Pass | Pass |
| #284C2C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.72:1 | Pass | Pass | Pass |
| Sample text | 2.16: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 #284C2C looks to people with the most common types of color vision deficiency.
#4d462aProtanopia
no red cones#48432eDeuteranopia
no green cones#234a44Tritanopia
no blue cones#444444Achromatopsia
no color vision
CSS examples
.background { background-color: #284c2c; }
.text { color: #284c2c; }
.border { border: 2px solid #284c2c; }
.transparent { background-color: rgb(40 76 44 / 50%); }
.gradient { background: linear-gradient(to right, #284c2c, #284c3e); }
Similar colors
#21421eMyrtle#1c401fQueen of Trees#17462eZucchini#1f5429Moor-Monster#3b593aFicus#2f441fForestry#014420Deep Pond#014426Lost in the Woods
Closest common color name: British Racing Green.
Questions
- What color is #284C2C?
- #284C2C is a dark, desaturated green, closest to the named color Myrtle. It belongs to the green family of colors.
- What is the RGB value of #284C2C?
- The RGB value is 40, 76, 44: 40 red, 76 green and 44 blue on a 0 to 255 scale.
- What is the complementary color of #284C2C?
- The complementary color is #4C2848, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #284C2C?
- White text. Black text has a contrast ratio of 2.16:1 and white text 9.72:1. WCAG asks for at least 4.5:1 for normal text.