Color #1f2008
A moderately saturated very dark yellow.
Conversions
#1f2008
rgb(31, 32, 8)
hsl(62.5, 60%, 7.8%)
hsv(62.5, 75%, 12.5%)
cmyk(3.1%, 0%, 75%, 87.5%)
lab(11.57, -4.85, 13.8)
lch(11.57, 14.63, 109.36)
oklch(23.6%, 0.0396, 111.32)
hwb(62.5, 3.1%, 87.5%)
Harmony colors
Accessibility
White text reads better on this background (16.56:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1f1f10 · ΔE 3
Deuteranopia
#1f1f12 · ΔE 3.8
Tritanopia
#1f1516 · ΔE 17.2
Achromatopsia
#1f1f1f · ΔE 11.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1f2008;
bg-[#1f2008]
Related colors
Frequently asked questions
#1f2008 (#1f2008) is rgb(31, 32, 8) in RGB.
No, #1f2008 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 #1f2008, or check how it holds up for accessibility.