Skip to content
Kolorvia
#1f8128

Color #1f8128

A moderately saturated dark green.

Conversions

HEX
#1f8128
RGB
rgb(31, 129, 40)
HSL
hsl(125.5, 61.2%, 31.4%)
HSV / HSB
hsv(125.5, 76%, 50.6%)
CMYK
cmyk(76%, 0%, 69%, 49.4%)
LAB
lab(47.16, -46.08, 38.95)
LCH
lch(47.16, 60.34, 139.79)
OKLCH
oklch(52.9%, 0.1536, 144.19)
HWB
hwb(125.5, 12.2%, 49.4%)

Harmony colors

Complementary

#811f78

Analogous

#47811f
#1f8128
#1f8159

Triadic

#1f8128
#281f81
#81281f

Split-complementary

#1f8128
#591f81
#811f47

Tetradic

#1f8128
#1f7881
#811f78
#81281f

Square

#1f8128
#1f4781
#811f78
#81591f

Shades

Color #1f8128 mixed toward black.

#1a6c21
#15561b
#104114
#0a2b0d
#051607

Tints

Color #1f8128 mixed toward white.

#2ab037
#43d250
#72dd7c
#a1e8a8
#d0f4d3

Tones

Color #1f8128 mixed toward gray.

#27792f
#2f7135
#38693c
#406043
#485849

Accessibility

Aa White text on this color
4.97:1
Aa Black text on this color
4.23:1

White text reads better on this background (4.97:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.

Under color vision deficiencies

Protanopia

#5a5b4a · ΔE 22.5

Deuteranopia

#554e50 · ΔE 34

Tritanopia

#2b5c5f · ΔE 28

Achromatopsia

#707070 · ΔE 25.9

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

Code

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

Related colors

Forest Green #228b22
Mint Green #98ff98
Dark Green #006400
Dark Sea Green #8fbc8f
Green #008000
Honeydew #f0fff0

Frequently asked questions

#1f8128 (#1f8128) is rgb(31, 129, 40) in RGB.

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