#284238 color
The hex color #284238 is a dark, grayish spring green.
In the RGB color model it is made of 15.7% red, 25.9% green and 22% blue (40, 66, 56).
Its hue angle is 157°, with 25% saturation and 21% lightness. For print, the CMYK equivalent is 39% cyan, 0% magenta, 15% yellow and 74% black.
The closest named color is Everglade (#264334), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.9:1).
#284238 color codes
| HEX | #284238 | |
|---|---|---|
| RGB | rgb(40, 66, 56) | |
| RGB percent | rgb(15.7%, 25.9%, 22%) | |
| HSL | hsl(157, 25%, 21%) | |
| HSV / HSB | hsv(157, 39%, 26%) | |
| CMYK | cmyk(39%, 0%, 15%, 74%) | |
| CIE LAB | lab(25.66, -12.65, 2.95) | |
| CIE LCH | lch(25.66, 12.99, 166.88) | |
| CIE XYZ | xyz(3.537, 4.633, 4.448) | |
| Decimal | 2638392 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #284238, 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 #284238 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.93:1 | Fail | Fail | Fail |
| Sample text | 10.9:1 | Pass | Pass | Pass |
| #284238 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.9:1 | Pass | Pass | Pass |
| Sample text | 1.93: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 #284238 looks to people with the most common types of color vision deficiency.
#413f38Protanopia
no red cones#3c3b39Deuteranopia
no green cones#21423fTritanopia
no blue cones#3d3d3dAchromatopsia
no color vision
CSS examples
.background { background-color: #284238; }
.text { color: #284238; }
.border { border: 2px solid #284238; }
.transparent { background-color: rgb(40 66 56 / 50%); }
.gradient { background: linear-gradient(to right, #284238, #283f42); }
Similar colors
#264334Everglade#334d41Pine Needle#12403cBotanical Night#394c3bMountain View#33534bHunter#3c463eDeep Forest#2f4f4fDark Slate Gray#36482fPalm Leaf
Questions
- What color is #284238?
- #284238 is a dark, grayish spring green, closest to the named color Everglade. It belongs to the gray family of colors.
- What is the RGB value of #284238?
- The RGB value is 40, 66, 56: 40 red, 66 green and 56 blue on a 0 to 255 scale.
- What is the complementary color of #284238?
- The complementary color is #422832, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #284238?
- White text. Black text has a contrast ratio of 1.93:1 and white text 10.9:1. WCAG asks for at least 4.5:1 for normal text.