#18210B color
The hex color #18210B is a very dark, desaturated yellow-green.
In the RGB color model it is made of 9.4% red, 12.9% green and 4.3% blue (24, 33, 11).
Its hue angle is 85°, with 50% saturation and 9% lightness. For print, the CMYK equivalent is 27% cyan, 0% magenta, 67% yellow and 87% black.
The closest named color is Midnight Pines (#17240B), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.65:1).
#18210B color codes
| HEX | #18210B | |
|---|---|---|
| RGB | rgb(24, 33, 11) | |
| RGB percent | rgb(9.4%, 12.9%, 4.3%) | |
| HSL | hsl(85, 50%, 9%) | |
| HSV / HSB | hsv(85, 67%, 13%) | |
| CMYK | cmyk(27%, 0%, 67%, 87%) | |
| CIE LAB | lab(11.32, -8.89, 12.12) | |
| CIE LCH | lch(11.32, 15.03, 126.26) | |
| CIE XYZ | xyz(0.981, 1.306, 0.517) | |
| Decimal | 1581323 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #18210B, 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 #18210B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.26:1 | Fail | Fail | Fail |
| Sample text | 16.65:1 | Pass | Pass | Pass |
| #18210B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.65:1 | Pass | Pass | Pass |
| Sample text | 1.26: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 #18210B looks to people with the most common types of color vision deficiency.
#231e09Protanopia
no red cones#221e0cDeuteranopia
no green cones#191f1cTritanopia
no blue cones#1e1e1eAchromatopsia
no color vision
CSS examples
.background { background-color: #18210b; }
.text { color: #18210b; }
.border { border: 2px solid #18210b; }
.transparent { background-color: rgb(24 33 11 / 50%); }
.gradient { background: linear-gradient(to right, #18210b, #0d210b); }
Similar colors
#17240bMidnight Pines#112211Nightmare#172808Lindworm Green#091101Memorial Black#001000Cosmic Bit Flip#223311Darkest Forest#1e231cUnderworld#020f03Blackn’t
Closest common color name: Onyx.
Questions
- What color is #18210B?
- #18210B is a very dark, desaturated yellow-green, closest to the named color Midnight Pines. It belongs to the black family of colors.
- What is the RGB value of #18210B?
- The RGB value is 24, 33, 11: 24 red, 33 green and 11 blue on a 0 to 255 scale.
- What is the complementary color of #18210B?
- The complementary color is #140B21, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #18210B?
- White text. Black text has a contrast ratio of 1.26:1 and white text 16.65:1. WCAG asks for at least 4.5:1 for normal text.