#28542C color
The hex color #28542C is a dark, desaturated green.
In the RGB color model it is made of 15.7% red, 32.9% green and 17.3% blue (40, 84, 44).
Its hue angle is 125°, with 35% saturation and 24% lightness. For print, the CMYK equivalent is 52% cyan, 0% magenta, 48% yellow and 67% black.
The closest named color is Moor-Monster (#1F5429), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.77:1).
#28542C color codes
| HEX | #28542C | |
|---|---|---|
| RGB | rgb(40, 84, 44) | |
| RGB percent | rgb(15.7%, 32.9%, 17.3%) | |
| HSL | hsl(125, 35%, 24%) | |
| HSV / HSB | hsv(125, 52%, 33%) | |
| CMYK | cmyk(52%, 0%, 48%, 67%) | |
| CIE LAB | lab(31.75, -24.92, 18.78) | |
| CIE LCH | lch(31.75, 31.21, 143) | |
| CIE XYZ | xyz(4.5, 6.973, 3.491) | |
| Decimal | 2642988 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #28542C, 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 #28542C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.39:1 | Fail | Fail | Fail |
| Sample text | 8.77:1 | Pass | Pass | Pass |
| #28542C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.77:1 | Pass | Pass | Pass |
| Sample text | 2.39: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 #28542C looks to people with the most common types of color vision deficiency.
#554d29Protanopia
no red cones#4f492fDeuteranopia
no green cones#21524aTritanopia
no blue cones#4b4b4bAchromatopsia
no color vision
CSS examples
.background { background-color: #28542c; }
.text { color: #28542c; }
.border { border: 2px solid #28542c; }
.transparent { background-color: rgb(40 84 44 / 50%); }
.gradient { background: linear-gradient(to right, #28542c, #285442); }
Similar colors
#1f5429Moor-Monster#2b5d34Pine#355e3bHunter Green#2a603bMidori#005522O Tannenbaum#3b593aFicus#0f521aMysterious Mixture#415b36Turf
Questions
- What color is #28542C?
- #28542C is a dark, desaturated green, closest to the named color Moor-Monster. It belongs to the green family of colors.
- What is the RGB value of #28542C?
- The RGB value is 40, 84, 44: 40 red, 84 green and 44 blue on a 0 to 255 scale.
- What is the complementary color of #28542C?
- The complementary color is #542850, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #28542C?
- White text. Black text has a contrast ratio of 2.39:1 and white text 8.77:1. WCAG asks for at least 4.5:1 for normal text.