#312B0F color
The hex color #312B0F is a very dark, moderate yellow.
In the RGB color model it is made of 19.2% red, 16.9% green and 5.9% blue (49, 43, 15).
Its hue angle is 49°, with 53% saturation and 13% lightness. For print, the CMYK equivalent is 0% cyan, 12% magenta, 69% yellow and 81% black.
The closest named color is Secret Passage (#372A05), a difference of 4.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.16:1).
#312B0F color codes
| HEX | #312B0F | |
|---|---|---|
| RGB | rgb(49, 43, 15) | |
| RGB percent | rgb(19.2%, 16.9%, 5.9%) | |
| HSL | hsl(49, 53%, 13%) | |
| HSV / HSB | hsv(49, 69%, 19%) | |
| CMYK | cmyk(0%, 12%, 69%, 81%) | |
| CIE LAB | lab(17.53, -1.67, 18.77) | |
| CIE LCH | lch(17.53, 18.84, 95.1) | |
| CIE XYZ | xyz(2.217, 2.415, 0.801) | |
| Decimal | 3222287 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #312B0F, 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 #312B0F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.48:1 | Fail | Fail | Fail |
| Sample text | 14.16:1 | Pass | Pass | Pass |
| #312B0F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.16: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 #312B0F looks to people with the most common types of color vision deficiency.
#302a0cProtanopia
no red cones#312c10Deuteranopia
no green cones#352825Tritanopia
no blue cones#2b2b2bAchromatopsia
no color vision
CSS examples
.background { background-color: #312b0f; }
.text { color: #312b0f; }
.border { border: 2px solid #312b0f; }
.transparent { background-color: rgb(49 43 15 / 50%); }
.gradient { background: linear-gradient(to right, #312b0f, #26310f); }
Similar colors
#372a05Secret Passage#333300Wasabi Nori#473e23Madras#393227Creole#4e3e1fAvocado Stone#1f180aNoir Mystique#3c2f23Cola#2b2e26Marshland
Closest common color name: Taupe.
Questions
- What color is #312B0F?
- #312B0F 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 #312B0F?
- The RGB value is 49, 43, 15: 49 red, 43 green and 15 blue on a 0 to 255 scale.
- What is the complementary color of #312B0F?
- The complementary color is #0F1531, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #312B0F?
- White text. Black text has a contrast ratio of 1.48:1 and white text 14.16:1. WCAG asks for at least 4.5:1 for normal text.