#152A1F color
The hex color #152A1F is a very dark, desaturated green.
In the RGB color model it is made of 8.2% red, 16.5% green and 12.2% blue (21, 42, 31).
Its hue angle is 149°, with 33% saturation and 12% lightness. For print, the CMYK equivalent is 50% cyan, 0% magenta, 26% yellow and 84% black.
The closest named color is Nightmare (#112211), a difference of 4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.19:1).
#152A1F color codes
| HEX | #152A1F | |
|---|---|---|
| RGB | rgb(21, 42, 31) | |
| RGB percent | rgb(8.2%, 16.5%, 12.2%) | |
| HSL | hsl(149, 33%, 12%) | |
| HSV / HSB | hsv(149, 50%, 16%) | |
| CMYK | cmyk(50%, 0%, 26%, 84%) | |
| CIE LAB | lab(15.03, -11.64, 4.59) | |
| CIE LCH | lch(15.03, 12.51, 158.49) | |
| CIE XYZ | xyz(1.384, 1.914, 1.593) | |
| Decimal | 1387039 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #152A1F, 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 #152A1F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.38:1 | Fail | Fail | Fail |
| Sample text | 15.19:1 | Pass | Pass | Pass |
| #152A1F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.19:1 | Pass | Pass | Pass |
| Sample text | 1.38: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 #152A1F looks to people with the most common types of color vision deficiency.
#2a271eProtanopia
no red cones#262520Deuteranopia
no green cones#102a27Tritanopia
no blue cones#262626Achromatopsia
no color vision
CSS examples
.background { background-color: #152a1f; }
.text { color: #152a1f; }
.border { border: 2px solid #152a1f; }
.transparent { background-color: rgb(21 42 31 / 50%); }
.gradient { background: linear-gradient(to right, #152a1f, #152a29); }
Similar colors
#112211Nightmare#162825Swamp Thing#17240bMidnight Pines#003322Pitch-Black Forests#1e231cUnderworld#172808Lindworm Green#264334Everglade#2b322dTerminal Black
Closest common color name: Onyx.
Questions
- What color is #152A1F?
- #152A1F is a very dark, desaturated green, closest to the named color Nightmare. It belongs to the gray family of colors.
- What is the RGB value of #152A1F?
- The RGB value is 21, 42, 31: 21 red, 42 green and 31 blue on a 0 to 255 scale.
- What is the complementary color of #152A1F?
- The complementary color is #2A1520, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #152A1F?
- White text. Black text has a contrast ratio of 1.38:1 and white text 15.19:1. WCAG asks for at least 4.5:1 for normal text.