#284B2D color
The hex color #284B2D is a dark, desaturated green.
In the RGB color model it is made of 15.7% red, 29.4% green and 17.6% blue (40, 75, 45).
Its hue angle is 129°, with 30% saturation and 23% lightness. For print, the CMYK equivalent is 47% cyan, 0% magenta, 40% yellow and 71% black.
The closest named color is Myrtle (#21421E), a difference of 3.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.84:1).
#284B2D color codes
| HEX | #284B2D | |
|---|---|---|
| RGB | rgb(40, 75, 45) | |
| RGB percent | rgb(15.7%, 29.4%, 17.6%) | |
| HSL | hsl(129, 30%, 23%) | |
| HSV / HSB | hsv(129, 47%, 29%) | |
| CMYK | cmyk(47%, 0%, 40%, 71%) | |
| CIE LAB | lab(28.57, -20.18, 14.03) | |
| CIE LCH | lch(28.57, 24.58, 145.19) | |
| CIE XYZ | xyz(3.865, 5.672, 3.373) | |
| Decimal | 2640685 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #284B2D, 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 #284B2D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.13:1 | Fail | Fail | Fail |
| Sample text | 9.84:1 | Pass | Pass | Pass |
| #284B2D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.84:1 | Pass | Pass | Pass |
| Sample text | 2.13: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 #284B2D looks to people with the most common types of color vision deficiency.
#4c452bProtanopia
no red cones#47422fDeuteranopia
no green cones#234a43Tritanopia
no blue cones#434343Achromatopsia
no color vision
CSS examples
.background { background-color: #284b2d; }
.text { color: #284b2d; }
.border { border: 2px solid #284b2d; }
.transparent { background-color: rgb(40 75 45 / 50%); }
.gradient { background: linear-gradient(to right, #284b2d, #284b3f); }
Similar colors
#21421eMyrtle#17462eZucchini#1c401fQueen of Trees#1f5429Moor-Monster#36482fPalm Leaf#3a533dHighlander#2f441fForestry#3b593aFicus
Closest common color name: British Racing Green.
Questions
- What color is #284B2D?
- #284B2D 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 #284B2D?
- The RGB value is 40, 75, 45: 40 red, 75 green and 45 blue on a 0 to 255 scale.
- What is the complementary color of #284B2D?
- The complementary color is #4B2846, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #284B2D?
- White text. Black text has a contrast ratio of 2.13:1 and white text 9.84:1. WCAG asks for at least 4.5:1 for normal text.