#284D38 color
The hex color #284D38 is a dark, desaturated green.
In the RGB color model it is made of 15.7% red, 30.2% green and 22% blue (40, 77, 56).
Its hue angle is 146°, with 32% saturation and 23% lightness. For print, the CMYK equivalent is 48% cyan, 0% magenta, 27% yellow and 70% black.
The closest named color is Zucchini (#17462E), a difference of 3.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.51:1).
#284D38 color codes
| HEX | #284D38 | |
|---|---|---|
| RGB | rgb(40, 77, 56) | |
| RGB percent | rgb(15.7%, 30.2%, 22%) | |
| HSL | hsl(146, 32%, 23%) | |
| HSV / HSB | hsv(146, 48%, 30%) | |
| CMYK | cmyk(48%, 0%, 27%, 70%) | |
| CIE LAB | lab(29.52, -18.86, 8.41) | |
| CIE LCH | lch(29.52, 20.65, 155.96) | |
| CIE XYZ | xyz(4.242, 6.044, 4.684) | |
| Decimal | 2641208 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #284D38, 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 #284D38 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.21:1 | Fail | Fail | Fail |
| Sample text | 9.51:1 | Pass | Pass | Pass |
| #284D38 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.51:1 | Pass | Pass | Pass |
| Sample text | 2.21: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 #284D38 looks to people with the most common types of color vision deficiency.
#4d4837Protanopia
no red cones#474439Deuteranopia
no green cones#1f4d47Tritanopia
no blue cones#464646Achromatopsia
no color vision
CSS examples
.background { background-color: #284d38; }
.text { color: #284d38; }
.border { border: 2px solid #284d38; }
.transparent { background-color: rgb(40 77 56 / 50%); }
.gradient { background: linear-gradient(to right, #284d38, #284d4a); }
Similar colors
#17462eZucchini#264334Everglade#3a533dHighlander#334d41Pine Needle#394c3bMountain View#3b593aFicus#36482fPalm Leaf#014426Lost in the Woods
Closest common color name: British Racing Green.
Questions
- What color is #284D38?
- #284D38 is a dark, desaturated green, closest to the named color Zucchini. It belongs to the green family of colors.
- What is the RGB value of #284D38?
- The RGB value is 40, 77, 56: 40 red, 77 green and 56 blue on a 0 to 255 scale.
- What is the complementary color of #284D38?
- The complementary color is #4D283D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #284D38?
- White text. Black text has a contrast ratio of 2.21:1 and white text 9.51:1. WCAG asks for at least 4.5:1 for normal text.