#262F22 color
The hex color #262F22 is a very dark, grayish green.
In the RGB color model it is made of 14.9% red, 18.4% green and 13.3% blue (38, 47, 34).
Its hue angle is 102°, with 16% saturation and 16% lightness. For print, the CMYK equivalent is 19% cyan, 0% magenta, 28% yellow and 82% black.
The closest named color is Marshland (#2B2E26), a difference of 4.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.89:1).
#262F22 color codes
| HEX | #262F22 | |
|---|---|---|
| RGB | rgb(38, 47, 34) | |
| RGB percent | rgb(14.9%, 18.4%, 13.3%) | |
| HSL | hsl(102, 16%, 16%) | |
| HSV / HSB | hsv(102, 28%, 18%) | |
| CMYK | cmyk(19%, 0%, 28%, 82%) | |
| CIE LAB | lab(18.19, -6.97, 7.11) | |
| CIE LCH | lch(18.19, 9.95, 134.44) | |
| CIE XYZ | xyz(2.105, 2.561, 1.896) | |
| Decimal | 2502434 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #262F22, 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 #262F22 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.51:1 | Fail | Fail | Fail |
| Sample text | 13.89:1 | Pass | Pass | Pass |
| #262F22 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.89:1 | Pass | Pass | Pass |
| Sample text | 1.51: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 #262F22 looks to people with the most common types of color vision deficiency.
#302d21Protanopia
no red cones#2f2c23Deuteranopia
no green cones#262e2bTritanopia
no blue cones#2c2c2cAchromatopsia
no color vision
CSS examples
.background { background-color: #262f22; }
.text { color: #262f22; }
.border { border: 2px solid #262f22; }
.transparent { background-color: rgb(38 47 34 / 50%); }
.gradient { background: linear-gradient(to right, #262f22, #222f25); }
Similar colors
#2b2e26Marshland#2b322dTerminal Black#1e231cUnderworld#112211Nightmare#17240bMidnight Pines#293432Aztec#162825Swamp Thing#262926Bitter Liquorice
Closest common color name: Onyx.
Questions
- What color is #262F22?
- #262F22 is a very dark, grayish green, closest to the named color Marshland. It belongs to the black family of colors.
- What is the RGB value of #262F22?
- The RGB value is 38, 47, 34: 38 red, 47 green and 34 blue on a 0 to 255 scale.
- What is the complementary color of #262F22?
- The complementary color is #2B222F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #262F22?
- White text. Black text has a contrast ratio of 1.51:1 and white text 13.89:1. WCAG asks for at least 4.5:1 for normal text.