#1F1A01 color
The hex color #1F1A01 is a very dark, vivid yellow.
In the RGB color model it is made of 12.2% red, 10.2% green and 0.4% blue (31, 26, 1).
Its hue angle is 50°, with 94% saturation and 6% lightness. For print, the CMYK equivalent is 0% cyan, 16% magenta, 97% yellow and 88% black.
The closest named color is Noir Mystique (#1F180A), a difference of 4.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.41:1).
#1F1A01 color codes
| HEX | #1F1A01 | |
|---|---|---|
| RGB | rgb(31, 26, 1) | |
| RGB percent | rgb(12.2%, 10.2%, 0.4%) | |
| HSL | hsl(50, 94%, 6%) | |
| HSV / HSB | hsv(50, 97%, 12%) | |
| CMYK | cmyk(0%, 16%, 97%, 88%) | |
| CIE LAB | lab(9.26, -1.55, 13.41) | |
| CIE LCH | lch(9.26, 13.5, 96.58) | |
| CIE XYZ | xyz(0.94, 1.032, 0.178) | |
| Decimal | 2038273 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1F1A01, 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 #1F1A01 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.21:1 | Fail | Fail | Fail |
| Sample text | 17.41:1 | Pass | Pass | Pass |
| #1F1A01 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.41:1 | Pass | Pass | Pass |
| Sample text | 1.21: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 #1F1A01 looks to people with the most common types of color vision deficiency.
#1e1900Protanopia
no red cones#1f1b02Deuteranopia
no green cones#221715Tritanopia
no blue cones#1a1a1aAchromatopsia
no color vision
CSS examples
.background { background-color: #1f1a01; }
.text { color: #1f1a01; }
.border { border: 2px solid #1f1a01; }
.transparent { background-color: rgb(31 26 1 / 50%); }
.gradient { background: linear-gradient(to right, #1f1a01, #151f01); }
Similar colors
#1f180aNoir Mystique#1b150dSoulless#091101Memorial Black#271b10Burnt Coffee#1e231cUnderworld#161410King Kong#191916Twilight Zone#372a05Secret Passage
Closest common color name: Off Black.
Questions
- What color is #1F1A01?
- #1F1A01 is a very dark, vivid yellow, closest to the named color Noir Mystique. It belongs to the black family of colors.
- What is the RGB value of #1F1A01?
- The RGB value is 31, 26, 1: 31 red, 26 green and 1 blue on a 0 to 255 scale.
- What is the complementary color of #1F1A01?
- The complementary color is #01061F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1F1A01?
- White text. Black text has a contrast ratio of 1.21:1 and white text 17.41:1. WCAG asks for at least 4.5:1 for normal text.