Skip to content
Kolorvia
#1f2008

Color #1f2008

A moderately saturated very dark yellow.

Conversions

HEX
#1f2008
RGB
rgb(31, 32, 8)
HSL
hsl(62.5, 60%, 7.8%)
HSV / HSB
hsv(62.5, 75%, 12.5%)
CMYK
cmyk(3.1%, 0%, 75%, 87.5%)
LAB
lab(11.57, -4.85, 13.8)
LCH
lch(11.57, 14.63, 109.36)
OKLCH
oklch(23.6%, 0.0396, 111.32)
HWB
hwb(62.5, 3.1%, 87.5%)

Harmony colors

Complementary

#090820

Analogous

#201508
#1f2008
#132008

Triadic

#1f2008
#081f20
#20081f

Split-complementary

#1f2008
#081320
#150820

Tetradic

#1f2008
#082009
#090820
#20081f

Square

#1f2008
#082015
#090820
#200813

Shades

Color #1f2008 mixed toward black.

#1a1b07
#151505
#0f1004
#0a0b03
#050501

Tints

Color #1f2008 mixed toward white.

#5c5f18
#989d27
#cad043
#dce082
#edefc0

Tones

Color #1f2008 mixed toward gray.

#1d1e0a
#1b1c0c
#191a0e
#181810
#161612

Accessibility

Aa White text on this color
16.56:1
Aa Black text on this color
1.27:1

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

CSS
background-color: #1f2008;
Tailwind (arbitrary value)
bg-[#1f2008]

Related colors

Ivory #fffff0
Beige #f5f5dc
Light Goldenrod Yellow #fafad2
Light Yellow #ffffe0
Olive #808000
Yellow #ffff00

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

Build something with this color

Generate a full palette from #1f2008, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.