#24312A color
The hex color #24312A is a very dark, grayish green.
In the RGB color model it is made of 14.1% red, 19.2% green and 16.5% blue (36, 49, 42).
Its hue angle is 148°, with 15% saturation and 17% lightness. For print, the CMYK equivalent is 27% cyan, 0% magenta, 14% yellow and 81% black.
The closest named color is Terminal Black (#2B322D), a difference of 3.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.57:1).
#24312A color codes
| HEX | #24312A | |
|---|---|---|
| RGB | rgb(36, 49, 42) | |
| RGB percent | rgb(14.1%, 19.2%, 16.5%) | |
| HSL | hsl(148, 15%, 17%) | |
| HSV / HSB | hsv(148, 27%, 19%) | |
| CMYK | cmyk(27%, 0%, 14%, 81%) | |
| CIE LAB | lab(18.97, -7.28, 2.69) | |
| CIE LCH | lch(18.97, 7.76, 159.73) | |
| CIE XYZ | xyz(2.244, 2.739, 2.6) | |
| Decimal | 2371882 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #24312A, 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 #24312A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.55:1 | Fail | Fail | Fail |
| Sample text | 13.57:1 | Pass | Pass | Pass |
| #24312A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.57:1 | Pass | Pass | Pass |
| Sample text | 1.55: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 #24312A looks to people with the most common types of color vision deficiency.
#312f2aProtanopia
no red cones#2e2d2aDeuteranopia
no green cones#22312fTritanopia
no blue cones#2e2e2eAchromatopsia
no color vision
CSS examples
.background { background-color: #24312a; }
.text { color: #24312a; }
.border { border: 2px solid #24312a; }
.transparent { background-color: rgb(36 49 42 / 50%); }
.gradient { background: linear-gradient(to right, #24312a, #243130); }
Similar colors
#2b322dTerminal Black#293432Aztec#162825Swamp Thing#2b2e26Marshland#1e231cUnderworld#353935Onyx#262926Bitter Liquorice#2f3434Phantom Ship
Questions
- What color is #24312A?
- #24312A is a very dark, grayish green, closest to the named color Terminal Black. It belongs to the black family of colors.
- What is the RGB value of #24312A?
- The RGB value is 36, 49, 42: 36 red, 49 green and 42 blue on a 0 to 255 scale.
- What is the complementary color of #24312A?
- The complementary color is #31242B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #24312A?
- White text. Black text has a contrast ratio of 1.55:1 and white text 13.57:1. WCAG asks for at least 4.5:1 for normal text.