Color #1f1f15
A muted very dark yellow.
Conversions
#1f1f15
rgb(31, 31, 21)
hsl(60, 19.2%, 10.2%)
hsv(60, 32.3%, 12.2%)
cmyk(0%, 0%, 32.3%, 87.8%)
lab(11.45, -2.21, 6.84)
lch(11.45, 7.19, 107.91)
oklch(23.6%, 0.0182, 107.54)
hwb(60, 8.2%, 87.8%)
Harmony colors
Accessibility
White text reads better on this background (16.6:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1f1f18 · ΔE 1.7
Deuteranopia
#1f1f18 · ΔE 1.7
Tritanopia
#1f1a1a · ΔE 8.6
Achromatopsia
#1e1e1e · ΔE 6.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1f1f15;
bg-[#1f1f15]
Related colors
Frequently asked questions
#1f1f15 (#1f1f15) is rgb(31, 31, 21) in RGB.
No, #1f1f15 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #1f1f15, or check how it holds up for accessibility.