#312D0A color
The hex color #312D0A is a very dark, moderate yellow.
In the RGB color model it is made of 19.2% red, 17.6% green and 3.9% blue (49, 45, 10).
Its hue angle is 54°, with 66% saturation and 12% lightness. For print, the CMYK equivalent is 0% cyan, 8% magenta, 80% yellow and 81% black.
The closest named color is Wasabi Nori (#333300), a difference of 4.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.9:1).
#312D0A color codes
| HEX | #312D0A | |
|---|---|---|
| RGB | rgb(49, 45, 10) | |
| RGB percent | rgb(19.2%, 17.6%, 3.9%) | |
| HSL | hsl(54, 66%, 12%) | |
| HSV / HSB | hsv(54, 80%, 19%) | |
| CMYK | cmyk(0%, 8%, 80%, 81%) | |
| CIE LAB | lab(18.15, -3.43, 21.85) | |
| CIE LCH | lch(18.15, 22.11, 98.91) | |
| CIE XYZ | xyz(2.26, 2.552, 0.661) | |
| Decimal | 3222794 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #312D0A, 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 #312D0A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.51:1 | Fail | Fail | Fail |
| Sample text | 13.9:1 | Pass | Pass | Pass |
| #312D0A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.9:1 | Pass | Pass | Pass |
| Sample text | 1.51: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 #312D0A looks to people with the most common types of color vision deficiency.
#322b06Protanopia
no red cones#332d0cDeuteranopia
no green cones#352926Tritanopia
no blue cones#2c2c2cAchromatopsia
no color vision
CSS examples
.background { background-color: #312d0a; }
.text { color: #312d0a; }
.border { border: 2px solid #312d0a; }
.transparent { background-color: rgb(49 45 10 / 50%); }
.gradient { background: linear-gradient(to right, #312d0a, #22310a); }
Similar colors
#333300Wasabi Nori#372a05Secret Passage#473e23Madras#373e02Dark Olive#444411Alligator Gladiator#4e3e1fAvocado Stone#404404Green Not Found#223311Darkest Forest
Closest common color name: Army Green.
Questions
- What color is #312D0A?
- #312D0A is a very dark, moderate yellow, closest to the named color Wasabi Nori. It belongs to the yellow family of colors.
- What is the RGB value of #312D0A?
- The RGB value is 49, 45, 10: 49 red, 45 green and 10 blue on a 0 to 255 scale.
- What is the complementary color of #312D0A?
- The complementary color is #0A0E31, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #312D0A?
- White text. Black text has a contrast ratio of 1.51:1 and white text 13.9:1. WCAG asks for at least 4.5:1 for normal text.