Skip to content
Kolorvia
#1f7235

Color #1f7235

A moderately saturated dark green.

Conversions

HEX
#1f7235
RGB
rgb(31, 114, 53)
HSL
hsl(135.9, 57.2%, 28.4%)
HSV / HSB
hsv(135.9, 72.8%, 44.7%)
CMYK
cmyk(72.8%, 0%, 53.5%, 55.3%)
LAB
lab(42.13, -38.75, 26.67)
LCH
lch(42.13, 47.04, 145.46)
OKLCH
oklch(48.8%, 0.1227, 148.29)
HWB
hwb(135.9, 12.2%, 55.3%)

Harmony colors

Complementary

#721f5c

Analogous

#32721f
#1f7235
#1f725e

Triadic

#1f7235
#351f72
#72351f

Split-complementary

#1f7235
#5e1f72
#721f32

Tetradic

#1f7235
#1f5c72
#721f5c
#72351f

Square

#1f7235
#1f3272
#721f5c
#725e1f

Shades

Color #1f7235 mixed toward black.

#1a5f2c
#154c23
#0f391a
#0a2612
#051309

Tints

Color #1f7235 mixed toward white.

#2ca24b
#40cb65
#6fd88b
#9fe5b2
#cff2d8

Tones

Color #1f7235 mixed toward gray.

#266b38
#2d643b
#345d3f
#3b5642
#424f45

Accessibility

Aa White text on this color
5.97:1
Aa Black text on this color
3.52:1

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

Under color vision deficiencies

Protanopia

#50514a · ΔE 22.4

Deuteranopia

#4c454e · ΔE 31.8

Tritanopia

#285658 · ΔE 22.7

Achromatopsia

#636363 · ΔE 24.2

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

Code

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

Related colors

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

Frequently asked questions

#1f7235 (#1f7235) is rgb(31, 114, 53) in RGB.

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