Skip to content
Kolorvia
#2a5f18

Color #2a5f18

A moderately saturated dark green.

Conversions

HEX
#2a5f18
RGB
rgb(42, 95, 24)
HSL
hsl(104.8, 59.7%, 23.3%)
HSV / HSB
hsv(104.8, 74.7%, 37.3%)
CMYK
cmyk(55.8%, 0%, 74.7%, 62.7%)
LAB
lab(35.48, -31.95, 33.66)
LCH
lch(35.48, 46.41, 133.51)
OKLCH
oklch(43.3%, 0.1167, 138.96)
HWB
hwb(104.8, 9.4%, 62.7%)

Harmony colors

Complementary

#4d185f

Analogous

#4d5f18
#2a5f18
#185f29

Triadic

#2a5f18
#182a5f
#5f182a

Split-complementary

#2a5f18
#29185f
#5f184d

Tetradic

#2a5f18
#185f4d
#4d185f
#5f182a

Square

#2a5f18
#184d5f
#4d185f
#5f2918

Shades

Color #2a5f18 mixed toward black.

#234f14
#1c3f10
#152f0c
#0e2008
#071004

Tints

Color #2a5f18 mixed toward white.

#419325
#58c732
#80d863
#abe597
#d5f2cb

Tones

Color #2a5f18 mixed toward gray.

#2d591e
#305324
#334d2a
#364730
#384136

Accessibility

Aa White text on this color
7.64:1
Aa Black text on this color
2.75:1

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

Under color vision deficiencies

Protanopia

#474734 · ΔE 17.5

Deuteranopia

#444039 · ΔE 23.2

Tritanopia

#2e4245 · ΔE 25.3

Achromatopsia

#535353 · ΔE 23.7

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

Code

CSS
background-color: #2a5f18;
Tailwind (arbitrary value)
bg-[#2a5f18]

Related colors

Lawn Green #7cfc00
Chartreuse #7fff00
Forest Green #228b22
Mint Green #98ff98
Dark Green #006400
Dark Sea Green #8fbc8f

Frequently asked questions

#2a5f18 (#2a5f18) is rgb(42, 95, 24) in RGB.

No, #2a5f18 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 #2a5f18, 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.