#312A06 color
The hex color #312A06 is a very dark, moderate yellow.
In the RGB color model it is made of 19.2% red, 16.5% green and 2.4% blue (49, 42, 6).
Its hue angle is 50°, with 78% saturation and 11% lightness. For print, the CMYK equivalent is 0% cyan, 14% magenta, 88% yellow and 81% black.
The closest named color is Secret Passage (#372A05), a difference of 3.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.34:1).
#312A06 color codes
| HEX | #312A06 | |
|---|---|---|
| RGB | rgb(49, 42, 6) | |
| RGB percent | rgb(19.2%, 16.5%, 2.4%) | |
| HSL | hsl(50, 78%, 11%) | |
| HSV / HSB | hsv(50, 88%, 19%) | |
| CMYK | cmyk(0%, 14%, 88%, 81%) | |
| CIE LAB | lab(17.09, -1.74, 22.2) | |
| CIE LCH | lch(17.09, 22.27, 94.47) | |
| CIE XYZ | xyz(2.128, 2.322, 0.508) | |
| Decimal | 3222022 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #312A06, 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 #312A06 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.46:1 | Fail | Fail | Fail |
| Sample text | 14.34:1 | Pass | Pass | Pass |
| #312A06 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.34:1 | Pass | Pass | Pass |
| Sample text | 1.46: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 #312A06 looks to people with the most common types of color vision deficiency.
#2f2902Protanopia
no red cones#312b08Deuteranopia
no green cones#362623Tritanopia
no blue cones#2a2a2aAchromatopsia
no color vision
CSS examples
.background { background-color: #312a06; }
.text { color: #312a06; }
.border { border: 2px solid #312a06; }
.transparent { background-color: rgb(49 42 6 / 50%); }
.gradient { background: linear-gradient(to right, #312a06, #223106); }
Similar colors
#372a05Secret Passage#333300Wasabi Nori#473e23Madras#4e3e1fAvocado Stone#444411Alligator Gladiator#393227Creole#373e02Dark Olive#1f180aNoir Mystique
Closest common color name: Taupe.
Questions
- What color is #312A06?
- #312A06 is a very dark, moderate yellow, closest to the named color Secret Passage. It belongs to the yellow family of colors.
- What is the RGB value of #312A06?
- The RGB value is 49, 42, 6: 49 red, 42 green and 6 blue on a 0 to 255 scale.
- What is the complementary color of #312A06?
- The complementary color is #060D31, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #312A06?
- White text. Black text has a contrast ratio of 1.46:1 and white text 14.34:1. WCAG asks for at least 4.5:1 for normal text.