#204540 color
The hex color #204540 is a very dark, desaturated spring green.
In the RGB color model it is made of 12.5% red, 27.1% green and 25.1% blue (32, 69, 64).
Its hue angle is 172°, with 37% saturation and 20% lightness. For print, the CMYK equivalent is 54% cyan, 0% magenta, 7% yellow and 73% black.
The closest named color is Botanical Night (#12403C), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.57:1).
#204540 color codes
| HEX | #204540 | |
|---|---|---|
| RGB | rgb(32, 69, 64) | |
| RGB percent | rgb(12.5%, 27.1%, 25.1%) | |
| HSL | hsl(172, 37%, 20%) | |
| HSV / HSB | hsv(172, 54%, 27%) | |
| CMYK | cmyk(54%, 0%, 7%, 73%) | |
| CIE LAB | lab(26.54, -14.71, -1.07) | |
| CIE LCH | lch(26.54, 14.74, 184.15) | |
| CIE XYZ | xyz(3.649, 4.933, 5.609) | |
| Decimal | 2114880 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #204540, 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 #204540 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.99:1 | Fail | Fail | Fail |
| Sample text | 10.57:1 | Pass | Pass | Pass |
| #204540 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.57:1 | Pass | Pass | Pass |
| Sample text | 1.99: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 #204540 looks to people with the most common types of color vision deficiency.
#424140Protanopia
no red cones#3c3d40Deuteranopia
no green cones#0e4643Tritanopia
no blue cones#3f3f3fAchromatopsia
no color vision
CSS examples
.background { background-color: #204540; }
.text { color: #204540; }
.border { border: 2px solid #204540; }
.transparent { background-color: rgb(32 69 64 / 50%); }
.gradient { background: linear-gradient(to right, #204540, #203845); }
Similar colors
#12403cBotanical Night#024a43Tropical Forest#2f4f4fDark Slate Gray#33534bHunter#334d41Pine Needle#264334Everglade#014d4eDark Teal#224347Emerald Forest
Questions
- What color is #204540?
- #204540 is a very dark, desaturated spring green, closest to the named color Botanical Night. It belongs to the teal family of colors.
- What is the RGB value of #204540?
- The RGB value is 32, 69, 64: 32 red, 69 green and 64 blue on a 0 to 255 scale.
- What is the complementary color of #204540?
- The complementary color is #452025, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #204540?
- White text. Black text has a contrast ratio of 1.99:1 and white text 10.57:1. WCAG asks for at least 4.5:1 for normal text.