#24311F color
The hex color #24311F is a very dark, grayish green.
In the RGB color model it is made of 14.1% red, 19.2% green and 12.2% blue (36, 49, 31).
Its hue angle is 103°, with 23% saturation and 16% lightness. For print, the CMYK equivalent is 27% cyan, 0% magenta, 37% yellow and 81% black.
The closest named color is Midnight Pines (#17240B), a difference of 4.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.69:1).
#24311F color codes
| HEX | #24311F | |
|---|---|---|
| RGB | rgb(36, 49, 31) | |
| RGB percent | rgb(14.1%, 19.2%, 12.2%) | |
| HSL | hsl(103, 23%, 16%) | |
| HSV / HSB | hsv(103, 37%, 19%) | |
| CMYK | cmyk(27%, 0%, 37%, 81%) | |
| CIE LAB | lab(18.67, -9.75, 9.77) | |
| CIE LCH | lch(18.67, 13.81, 134.94) | |
| CIE XYZ | xyz(2.073, 2.671, 1.702) | |
| Decimal | 2371871 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #24311F, 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 #24311F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.53:1 | Fail | Fail | Fail |
| Sample text | 13.69:1 | Pass | Pass | Pass |
| #24311F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.69:1 | Pass | Pass | Pass |
| Sample text | 1.53: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 #24311F looks to people with the most common types of color vision deficiency.
#322e1eProtanopia
no red cones#302d20Deuteranopia
no green cones#24302cTritanopia
no blue cones#2d2d2dAchromatopsia
no color vision
CSS examples
.background { background-color: #24311f; }
.text { color: #24311f; }
.border { border: 2px solid #24311f; }
.transparent { background-color: rgb(36 49 31 / 50%); }
.gradient { background: linear-gradient(to right, #24311f, #1f3123); }
Similar colors
#17240bMidnight Pines#112211Nightmare#172808Lindworm Green#223311Darkest Forest#2b2e26Marshland#2b322dTerminal Black#264334Everglade#36482fPalm Leaf
Closest common color name: Onyx.
Questions
- What color is #24311F?
- #24311F is a very dark, grayish green, closest to the named color Midnight Pines. It belongs to the green family of colors.
- What is the RGB value of #24311F?
- The RGB value is 36, 49, 31: 36 red, 49 green and 31 blue on a 0 to 255 scale.
- What is the complementary color of #24311F?
- The complementary color is #2C1F31, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #24311F?
- White text. Black text has a contrast ratio of 1.53:1 and white text 13.69:1. WCAG asks for at least 4.5:1 for normal text.