Skip to content
Kolorvia
#1f512b

Color #1f512b

A moderately saturated dark green.

Conversions

HEX
#1f512b
RGB
rgb(31, 81, 43)
HSL
hsl(134.4, 44.6%, 22%)
HSV / HSB
hsv(134.4, 61.7%, 31.8%)
CMYK
cmyk(61.7%, 0%, 46.9%, 68.2%)
LAB
lab(30.28, -26.39, 17.42)
LCH
lch(30.28, 31.62, 146.57)
OKLCH
oklch(39%, 0.0833, 149)
HWB
hwb(134.4, 12.2%, 68.2%)

Harmony colors

Complementary

#511f45

Analogous

#2c511f
#1f512b
#1f5144

Triadic

#1f512b
#2b1f51
#512b1f

Split-complementary

#1f512b
#441f51
#511f2c

Tetradic

#1f512b
#1f4551
#511f45
#512b1f

Square

#1f512b
#1f2c51
#511f45
#51441f

Shades

Color #1f512b mixed toward black.

#1a4424
#15361d
#102916
#0a1b0e
#050e07

Tints

Color #1f512b mixed toward white.

#318145
#44b15e
#6fc884
#9fdaad
#cfedd6

Tones

Color #1f512b mixed toward gray.

#234d2d
#27492f
#2c4532
#304034
#343c36

Accessibility

Aa White text on this color
9.25:1
Aa Black text on this color
2.27:1

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

Under color vision deficiencies

Protanopia

#3b3b37 · ΔE 20.1

Deuteranopia

#383439 · ΔE 26.9

Tritanopia

#233f40 · ΔE 17.1

Achromatopsia

#474747 · ΔE 21.3

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

Code

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

Related colors

Sea Green #2e8b57
Medium Sea Green #3cb371
Forest Green #228b22
Mint Green #98ff98
Dark Green #006400
Dark Sea Green #8fbc8f

Frequently asked questions

#1f512b (#1f512b) is rgb(31, 81, 43) in RGB.

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