Skip to content
Kolorvia
#1b1f1c

Color #1b1f1c

A nearly neutral, gray-leaning very dark green.

Conversions

HEX
#1b1f1c
RGB
rgb(27, 31, 28)
HSL
hsl(135, 6.9%, 11.4%)
HSV / HSB
hsv(135, 12.9%, 12.2%)
CMYK
cmyk(12.9%, 0%, 9.7%, 87.8%)
LAB
lab(11.25, -2.63, 1.42)
LCH
lch(11.25, 2.99, 151.63)
OKLCH
oklch(23.4%, 0.0082, 153.12)
HWB
hwb(135, 10.6%, 87.8%)

Harmony colors

Complementary

#1f1b1e

Analogous

#1c1f1b
#1b1f1c
#1b1f1e

Triadic

#1b1f1c
#1c1b1f
#1f1c1b

Split-complementary

#1b1f1c
#1e1b1f
#1f1b1c

Tetradic

#1b1f1c
#1b1e1f
#1f1b1e
#1f1c1b

Square

#1b1f1c
#1b1c1f
#1f1b1e
#1f1e1b

Shades

Color #1b1f1c mixed toward black.

#171a17
#121513
#0e100e
#090a09
#050505

Tints

Color #1b1f1c mixed toward white.

#3e4740
#617065
#86968a
#aeb9b1
#d7dcd8

Tones

Color #1b1f1c mixed toward gray.

#1b1f1c
#1c1e1c
#1c1e1d
#1c1e1d
#1d1d1d

Accessibility

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

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

Under color vision deficiencies

Protanopia

#1d1d1d · ΔE 3.8

Deuteranopia

#1d1c1d · ΔE 5

Tritanopia

#1b1d1d · ΔE 2.8

Achromatopsia

#1e1e1e · ΔE 3.8

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

Code

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

Related colors

Sea Green #2e8b57
Medium Sea Green #3cb371
Spring Green #00ff7f
Forest Green #228b22
Mint Green #98ff98
Dark Green #006400

Frequently asked questions

#1b1f1c (#1b1f1c) is rgb(27, 31, 28) in RGB.

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