#3A3A21 color

#3A3A21 rgb(58, 58, 33)
Shades of yellow

The hex color #3A3A21 is a very dark, desaturated yellow.

In the RGB color model it is made of 22.7% red, 22.7% green and 12.9% blue (58, 58, 33).

Its hue angle is 60°, with 27% saturation and 18% lightness. For print, the CMYK equivalent is 0% cyan, 0% magenta, 43% 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.62:1).

#3A3A21 color codes

HEX#3A3A21
RGBrgb(58, 58, 33)
RGB percentrgb(22.7%, 22.7%, 12.9%)
HSLhsl(60, 27%, 18%)
HSV / HSBhsv(60, 43%, 23%)
CMYKcmyk(0%, 0%, 43%, 77%)
CIE LABlab(23.79, -4.64, 15.56)
CIE LCHlch(23.79, 16.23, 106.62)
CIE XYZxyz(3.533, 4.036, 2.031)
Decimal3815969
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #3A3A21, 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 #3A3A21RatioAAAAAAA large
Sample text1.81:1FailFailFail
Sample text11.62:1PassPassPass
#3A3A21 as text onRatioAAAAAAA large
Sample text11.62:1PassPassPass
Sample text1.81:1FailFailFail

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 #3A3A21 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #3a3a21; }
.text { color: #3a3a21; }
.border { border: 2px solid #3a3a21; }
.transparent { background-color: rgb(58 58 33 / 50%); }
.gradient { background: linear-gradient(to right, #3a3a21, #2e3a21); }
Background
Text color
Border

Similar colors

Closest common color name: Onyx.

Questions

What color is #3A3A21?
#3A3A21 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 #3A3A21?
The RGB value is 58, 58, 33: 58 red, 58 green and 33 blue on a 0 to 255 scale.
What is the complementary color of #3A3A21?
The complementary color is #21213A, found by rotating the hue 180° on the color wheel.
Is black or white text better on #3A3A21?
White text. Black text has a contrast ratio of 1.81:1 and white text 11.62:1. WCAG asks for at least 4.5:1 for normal text.