Skip to content
Kolorvia
#40792f

Color #40792f

A moderately saturated dark green.

Conversions

HEX
#40792f
RGB
rgb(64, 121, 47)
HSL
hsl(106.2, 44%, 32.9%)
HSV / HSB
hsv(106.2, 61.2%, 47.5%)
CMYK
cmyk(47.1%, 0%, 61.2%, 52.5%)
LAB
lab(45.59, -33.73, 34.2)
LCH
lch(45.59, 48.03, 134.6)
OKLCH
oklch(52%, 0.1226, 139.07)
HWB
hwb(106.2, 18.4%, 52.5%)

Harmony colors

Complementary

#682f79

Analogous

#65792f
#40792f
#2f7943

Triadic

#40792f
#2f4079
#792f40

Split-complementary

#40792f
#432f79
#792f65

Tetradic

#40792f
#2f7968
#682f79
#792f40

Square

#40792f
#2f6579
#682f79
#79432f

Shades

Color #40792f mixed toward black.

#356527
#2b511f
#203c17
#152810
#0b1408

Tints

Color #40792f mixed toward white.

#56a23f
#72bf5b
#95cf84
#b8dfad
#dcefd6

Tones

Color #40792f mixed toward gray.

#437335
#476d3b
#4a6641
#4d6048
#515a4e

Accessibility

Aa White text on this color
5.26:1
Aa Black text on this color
3.99:1

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

Under color vision deficiencies

Protanopia

#5e5e4a · ΔE 18.2

Deuteranopia

#5b564f · ΔE 24.4

Tritanopia

#44595b · ΔE 25.2

Achromatopsia

#6c6c6c · ΔE 24

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

Code

CSS
background-color: #40792f;
Tailwind (arbitrary value)
bg-[#40792f]

Related colors

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

Frequently asked questions

#40792f (#40792f) is rgb(64, 121, 47) in RGB.

No, #40792f 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 #40792f, 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.