#284541 color
The hex color #284541 is a dark, desaturated spring green.
In the RGB color model it is made of 15.7% red, 27.1% green and 25.5% blue (40, 69, 65).
Its hue angle is 172°, with 27% saturation and 21% lightness. For print, the CMYK equivalent is 42% cyan, 0% magenta, 6% yellow and 73% black.
The closest named color is Dark Slate Gray (#2F4F4F), a difference of 3.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.41:1).
#284541 color codes
| HEX | #284541 | |
|---|---|---|
| RGB | rgb(40, 69, 65) | |
| RGB percent | rgb(15.7%, 27.1%, 25.5%) | |
| HSL | hsl(172, 27%, 21%) | |
| HSV / HSB | hsv(172, 42%, 27%) | |
| CMYK | cmyk(42%, 0%, 6%, 73%) | |
| CIE LAB | lab(26.99, -11.99, -1.02) | |
| CIE LCH | lch(26.99, 12.04, 184.88) | |
| CIE XYZ | xyz(3.957, 5.089, 5.774) | |
| Decimal | 2639169 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #284541, 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 #284541 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.02:1 | Fail | Fail | Fail |
| Sample text | 10.41:1 | Pass | Pass | Pass |
| #284541 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.41:1 | Pass | Pass | Pass |
| Sample text | 2.02: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 #284541 looks to people with the most common types of color vision deficiency.
#424241Protanopia
no red cones#3d3e41Deuteranopia
no green cones#1d4644Tritanopia
no blue cones#404040Achromatopsia
no color vision
CSS examples
.background { background-color: #284541; }
.text { color: #284541; }
.border { border: 2px solid #284541; }
.transparent { background-color: rgb(40 69 65 / 50%); }
.gradient { background: linear-gradient(to right, #284541, #283b45); }
Similar colors
#2f4f4fDark Slate Gray#12403cBotanical Night#224347Emerald Forest#334d41Pine Needle#33534bHunter#27454aMysterious Waters#264334Everglade#3c4f4eNight Watch
Questions
- What color is #284541?
- #284541 is a dark, desaturated spring green, closest to the named color Dark Slate Gray. It belongs to the gray family of colors.
- What is the RGB value of #284541?
- The RGB value is 40, 69, 65: 40 red, 69 green and 65 blue on a 0 to 255 scale.
- What is the complementary color of #284541?
- The complementary color is #45282C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #284541?
- White text. Black text has a contrast ratio of 2.02:1 and white text 10.41:1. WCAG asks for at least 4.5:1 for normal text.