#284A40 color
The hex color #284A40 is a dark, desaturated spring green.
In the RGB color model it is made of 15.7% red, 29% green and 25.1% blue (40, 74, 64).
Its hue angle is 162°, with 30% saturation and 22% lightness. For print, the CMYK equivalent is 46% cyan, 0% magenta, 14% yellow and 71% black.
The closest named color is Pine Needle (#334D41), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.8:1).
#284A40 color codes
| HEX | #284A40 | |
|---|---|---|
| RGB | rgb(40, 74, 64) | |
| RGB percent | rgb(15.7%, 29%, 25.1%) | |
| HSL | hsl(162, 30%, 22%) | |
| HSV / HSB | hsv(162, 46%, 29%) | |
| CMYK | cmyk(46%, 0%, 14%, 71%) | |
| CIE LAB | lab(28.69, -15.18, 2.11) | |
| CIE LCH | lch(28.69, 15.33, 172.1) | |
| CIE XYZ | xyz(4.249, 5.719, 5.729) | |
| Decimal | 2640448 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #284A40, 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 #284A40 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.14:1 | Fail | Fail | Fail |
| Sample text | 9.8:1 | Pass | Pass | Pass |
| #284A40 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.8:1 | Pass | Pass | Pass |
| Sample text | 2.14: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 #284A40 looks to people with the most common types of color vision deficiency.
#484640Protanopia
no red cones#424241Deuteranopia
no green cones#1d4b47Tritanopia
no blue cones#444444Achromatopsia
no color vision
CSS examples
.background { background-color: #284a40; }
.text { color: #284a40; }
.border { border: 2px solid #284a40; }
.transparent { background-color: rgb(40 74 64 / 50%); }
.gradient { background: linear-gradient(to right, #284a40, #28434a); }
Similar colors
#334d41Pine Needle#33534bHunter#264334Everglade#12403cBotanical Night#024a43Tropical Forest#394c3bMountain View#2f4f4fDark Slate Gray#3e594cPlantation
Questions
- What color is #284A40?
- #284A40 is a dark, desaturated spring green, closest to the named color Pine Needle. It belongs to the green family of colors.
- What is the RGB value of #284A40?
- The RGB value is 40, 74, 64: 40 red, 74 green and 64 blue on a 0 to 255 scale.
- What is the complementary color of #284A40?
- The complementary color is #4A2832, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #284A40?
- White text. Black text has a contrast ratio of 2.14:1 and white text 9.8:1. WCAG asks for at least 4.5:1 for normal text.