Skip to content
Kolorvia
#1f1e18

Color #1f1e18

A nearly neutral, gray-leaning very dark yellow.

Conversions

HEX
#1f1e18
RGB
rgb(31, 30, 24)
HSL
hsl(51.4, 12.7%, 10.8%)
HSV / HSB
hsv(51.4, 22.6%, 12.2%)
CMYK
cmyk(0%, 3.2%, 22.6%, 87.8%)
LAB
lab(11.18, -0.9, 4.29)
LCH
lch(11.18, 4.38, 101.85)
OKLCH
oklch(23.4%, 0.0112, 99.21)
HWB
hwb(51.4, 9.4%, 87.8%)

Harmony colors

Complementary

#18191f

Analogous

#1f1b18
#1f1e18
#1d1f18

Triadic

#1f1e18
#181f1e
#1e181f

Split-complementary

#1f1e18
#181d1f
#1b181f

Tetradic

#1f1e18
#191f18
#18191f
#1e181f

Square

#1f1e18
#181f1b
#18191f
#1f181d

Shades

Color #1f1e18 mixed toward black.

#1a1914
#151410
#100f0c
#0a0a08
#050504

Tints

Color #1f1e18 mixed toward white.

#4a4739
#74715a
#9c987f
#bdbaaa
#deddd4

Tones

Color #1f1e18 mixed toward gray.

#1e1e19
#1e1d19
#1d1d1a
#1d1c1a
#1c1c1b

Accessibility

Aa White text on this color
16.7:1
Aa Black text on this color
1.26:1

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

Under color vision deficiencies

Protanopia

#1f1f1a · ΔE 0.9

Deuteranopia

#1f1f1a · ΔE 0.9

Tritanopia

#1f1b1b · ΔE 5.4

Achromatopsia

#1e1e1e · ΔE 4.1

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

Code

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

Related colors

Gold #ffd700
Khaki #f0e68c
Lemon Chiffon #fffacd
Pale Goldenrod #eee8aa
Cornsilk #fff8dc
Dark Khaki #bdb76b

Frequently asked questions

#1f1e18 (#1f1e18) is rgb(31, 30, 24) in RGB.

No, #1f1e18 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 #1f1e18, 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.