#312B0E color
The hex color #312B0E is a very dark, moderate yellow.
In the RGB color model it is made of 19.2% red, 16.9% green and 5.5% blue (49, 43, 14).
Its hue angle is 50°, with 56% saturation and 12% lightness. For print, the CMYK equivalent is 0% cyan, 12% magenta, 71% yellow and 81% black.
The closest named color is Secret Passage (#372A05), a difference of 4.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.17:1).
#312B0E color codes
| HEX | #312B0E | |
|---|---|---|
| RGB | rgb(49, 43, 14) | |
| RGB percent | rgb(19.2%, 16.9%, 5.5%) | |
| HSL | hsl(50, 56%, 12%) | |
| HSV / HSB | hsv(50, 71%, 19%) | |
| CMYK | cmyk(0%, 12%, 71%, 81%) | |
| CIE LAB | lab(17.52, -1.77, 19.27) | |
| CIE LCH | lch(17.52, 19.35, 95.24) | |
| CIE XYZ | xyz(2.21, 2.413, 0.765) | |
| Decimal | 3222286 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #312B0E, 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 #312B0E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.48:1 | Fail | Fail | Fail |
| Sample text | 14.17:1 | Pass | Pass | Pass |
| #312B0E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.17:1 | Pass | Pass | Pass |
| Sample text | 1.48: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 #312B0E looks to people with the most common types of color vision deficiency.
#302a0bProtanopia
no red cones#312c0fDeuteranopia
no green cones#352725Tritanopia
no blue cones#2b2b2bAchromatopsia
no color vision
CSS examples
.background { background-color: #312b0e; }
.text { color: #312b0e; }
.border { border: 2px solid #312b0e; }
.transparent { background-color: rgb(49 43 14 / 50%); }
.gradient { background: linear-gradient(to right, #312b0e, #25310e); }
Similar colors
#372a05Secret Passage#333300Wasabi Nori#473e23Madras#393227Creole#4e3e1fAvocado Stone#1f180aNoir Mystique#3c2f23Cola#444411Alligator Gladiator
Closest common color name: Taupe.
Questions
- What color is #312B0E?
- #312B0E is a very dark, moderate yellow, closest to the named color Secret Passage. It belongs to the brown family of colors.
- What is the RGB value of #312B0E?
- The RGB value is 49, 43, 14: 49 red, 43 green and 14 blue on a 0 to 255 scale.
- What is the complementary color of #312B0E?
- The complementary color is #0E1431, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #312B0E?
- White text. Black text has a contrast ratio of 1.48:1 and white text 14.17:1. WCAG asks for at least 4.5:1 for normal text.