#383A31 color
The hex color #383A31 is a dark, grayish yellow-green.
In the RGB color model it is made of 22% red, 22.7% green and 19.2% blue (56, 58, 49).
Its hue angle is 73°, with 8% saturation and 21% lightness. For print, the CMYK equivalent is 3% cyan, 0% magenta, 16% yellow and 77% black.
The closest named color is Black Olive (#3B3C36), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.55:1).
#383A31 color codes
| HEX | #383A31 | |
|---|---|---|
| RGB | rgb(56, 58, 49) | |
| RGB percent | rgb(22%, 22.7%, 19.2%) | |
| HSL | hsl(73, 8%, 21%) | |
| HSV / HSB | hsv(73, 16%, 23%) | |
| CMYK | cmyk(3%, 0%, 16%, 77%) | |
| CIE LAB | lab(23.96, -2.82, 5.31) | |
| CIE LCH | lch(23.96, 6.01, 117.98) | |
| CIE XYZ | xyz(3.698, 4.089, 3.499) | |
| Decimal | 3684913 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #383A31, 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 #383A31 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.82:1 | Fail | Fail | Fail |
| Sample text | 11.55:1 | Pass | Pass | Pass |
| #383A31 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.55:1 | Pass | Pass | Pass |
| Sample text | 1.82: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 #383A31 looks to people with the most common types of color vision deficiency.
#3b3930Protanopia
no red cones#3b3931Deuteranopia
no green cones#393937Tritanopia
no blue cones#393939Achromatopsia
no color vision
CSS examples
.background { background-color: #383a31; }
.text { color: #383a31; }
.border { border: 2px solid #383a31; }
.transparent { background-color: rgb(56 58 49 / 50%); }
.gradient { background: linear-gradient(to right, #383a31, #333a31); }
Similar colors
#3b3c36Black Olive#353935Onyx#2b2e26Marshland#313330Oil#2b322dTerminal Black#46473eHeavy Metal#44413cDeepest Nightmare#3c463eDeep Forest
Questions
- What color is #383A31?
- #383A31 is a dark, grayish yellow-green, closest to the named color Black Olive. It belongs to the gray family of colors.
- What is the RGB value of #383A31?
- The RGB value is 56, 58, 49: 56 red, 58 green and 49 blue on a 0 to 255 scale.
- What is the complementary color of #383A31?
- The complementary color is #33313A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #383A31?
- White text. Black text has a contrast ratio of 1.82:1 and white text 11.55:1. WCAG asks for at least 4.5:1 for normal text.