Skip to content
Kolorvia
#1f1802

Color #1f1802

A vivid, highly saturated very dark yellow.

Conversions

HEX
#1f1802
RGB
rgb(31, 24, 2)
HSL
hsl(45.5, 87.9%, 6.5%)
HSV / HSB
hsv(45.5, 93.5%, 12.2%)
CMYK
cmyk(0%, 22.6%, 93.5%, 87.8%)
LAB
lab(8.56, 0.03, 12)
LCH
lch(8.56, 12, 89.86)
OKLCH
oklch(21.2%, 0.0395, 92.75)
HWB
hwb(45.5, 0.8%, 87.8%)

Harmony colors

Complementary

#02091f

Analogous

#1f0a02
#1f1802
#181f02

Triadic

#1f1802
#021f18
#18021f

Split-complementary

#1f1802
#02181f
#0a021f

Tetradic

#1f1802
#091f02
#02091f
#18021f

Square

#1f1802
#021f0a
#02091f
#1f0218

Shades

Color #1f1802 mixed toward black.

#1a1402
#151001
#100c01
#0a0801
#050400

Tints

Color #1f1802 mixed toward white.

#6a5207
#b48c0c
#f1be1f
#f5d46a
#fae9b4

Tones

Color #1f1802 mixed toward gray.

#1d1704
#1a1607
#181409
#15130c
#13120e

Accessibility

Aa White text on this color
17.65:1
Aa Black text on this color
1.19:1

White text reads better on this background (17.65:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#1c1c09 · ΔE 4.9

Deuteranopia

#1d1d0a · ΔE 4.9

Tritanopia

#1f0e0f · ΔE 13.9

Achromatopsia

#191919 · ΔE 9.4

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

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

Related colors

Cornsilk #fff8dc
Goldenrod #daa520
Dark Goldenrod #b8860b
Gold #ffd700
Floral White #fffaf0
Old Lace #fdf5e6

Frequently asked questions

#1f1802 (#1f1802) is rgb(31, 24, 2) in RGB.

No, #1f1802 is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #1f1802, 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.