#22240F color
The hex color #22240F is a very dark, desaturated yellow.
In the RGB color model it is made of 13.3% red, 14.1% green and 5.9% blue (34, 36, 15).
Its hue angle is 66°, with 41% saturation and 10% lightness. For print, the CMYK equivalent is 6% cyan, 0% magenta, 58% yellow and 86% black.
The closest named color is Midnight Pines (#17240B), a difference of 5.9 ΔE.
White text is the more readable choice on this background (contrast 15.82:1).
#22240F color codes
| HEX | #22240F | |
|---|---|---|
| RGB | rgb(34, 36, 15) | |
| RGB percent | rgb(13.3%, 14.1%, 5.9%) | |
| HSL | hsl(66, 41%, 10%) | |
| HSV / HSB | hsv(66, 58%, 14%) | |
| CMYK | cmyk(6%, 0%, 58%, 86%) | |
| CIE LAB | lab(13.45, -5.05, 13.25) | |
| CIE LCH | lch(13.45, 14.18, 110.89) | |
| CIE XYZ | xyz(1.377, 1.636, 0.695) | |
| Decimal | 2237455 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #22240F, 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 #22240F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.33:1 | Fail | Fail | Fail |
| Sample text | 15.82:1 | Pass | Pass | Pass |
| #22240F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.82:1 | Pass | Pass | Pass |
| Sample text | 1.33: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 #22240F looks to people with the most common types of color vision deficiency.
#27220dProtanopia
no red cones#272310Deuteranopia
no green cones#24221fTritanopia
no blue cones#222222Achromatopsia
no color vision
CSS examples
.background { background-color: #22240f; }
.text { color: #22240f; }
.border { border: 2px solid #22240f; }
.transparent { background-color: rgb(34 36 15 / 50%); }
.gradient { background: linear-gradient(to right, #22240f, #18240f); }
Similar colors
#17240bMidnight Pines#1e231cUnderworld#2b2e26Marshland#172808Lindworm Green#112211Nightmare#091101Memorial Black#223311Darkest Forest#1f180aNoir Mystique
Closest common color name: Onyx.
Questions
- What color is #22240F?
- #22240F is a very dark, desaturated yellow, closest to the named color Midnight Pines. It belongs to the yellow family of colors.
- What is the RGB value of #22240F?
- The RGB value is 34, 36, 15: 34 red, 36 green and 15 blue on a 0 to 255 scale.
- What is the complementary color of #22240F?
- The complementary color is #110F24, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #22240F?
- White text. Black text has a contrast ratio of 1.33:1 and white text 15.82:1. WCAG asks for at least 4.5:1 for normal text.