#3A3A22 color
The hex color #3A3A22 is a very dark, desaturated yellow.
In the RGB color model it is made of 22.7% red, 22.7% green and 13.3% blue (58, 58, 34).
Its hue angle is 60°, with 26% saturation and 18% lightness. For print, the CMYK equivalent is 0% cyan, 0% magenta, 41% yellow and 77% black.
The closest named color is Madras (#473E23), a difference of 5.5 ΔE.
White text is the more readable choice on this background (contrast 11.61:1).
#3A3A22 color codes
| HEX | #3A3A22 | |
|---|---|---|
| RGB | rgb(58, 58, 34) | |
| RGB percent | rgb(22.7%, 22.7%, 13.3%) | |
| HSL | hsl(60, 26%, 18%) | |
| HSV / HSB | hsv(60, 41%, 23%) | |
| CMYK | cmyk(0%, 0%, 41%, 77%) | |
| CIE LAB | lab(23.81, -4.5, 14.94) | |
| CIE LCH | lch(23.81, 15.61, 106.75) | |
| CIE XYZ | xyz(3.547, 4.041, 2.106) | |
| Decimal | 3815970 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3A3A22, 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 #3A3A22 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.81:1 | Fail | Fail | Fail |
| Sample text | 11.61:1 | Pass | Pass | Pass |
| #3A3A22 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.61:1 | Pass | Pass | Pass |
| Sample text | 1.81: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 #3A3A22 looks to people with the most common types of color vision deficiency.
#3e3820Protanopia
no red cones#3e3923Deuteranopia
no green cones#3d3734Tritanopia
no blue cones#393939Achromatopsia
no color vision
CSS examples
.background { background-color: #3a3a22; }
.text { color: #3a3a22; }
.border { border: 2px solid #3a3a22; }
.transparent { background-color: rgb(58 58 34 / 50%); }
.gradient { background: linear-gradient(to right, #3a3a22, #2e3a22); }
Similar colors
#473e23Madras#4e4b35Olive Leaf#4f4d32Jungle King#333300Wasabi Nori#4d503cKelp#2b2e26Marshland#46473eHeavy Metal#393227Creole
Closest common color name: Onyx.
Questions
- What color is #3A3A22?
- #3A3A22 is a very dark, desaturated yellow, closest to the named color Madras. It belongs to the yellow family of colors.
- What is the RGB value of #3A3A22?
- The RGB value is 58, 58, 34: 58 red, 58 green and 34 blue on a 0 to 255 scale.
- What is the complementary color of #3A3A22?
- The complementary color is #22223A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3A3A22?
- White text. Black text has a contrast ratio of 1.81:1 and white text 11.61:1. WCAG asks for at least 4.5:1 for normal text.