Skip to content
Kolorvia
#5a7d0c

Color #5a7d0c

A vivid, highly saturated dark green.

Conversions

HEX
#5a7d0c
RGB
rgb(90, 125, 12)
HSL
hsl(78.6, 82.5%, 26.9%)
HSV / HSB
hsv(78.6, 90.4%, 49%)
CMYK
cmyk(28%, 0%, 90.4%, 51%)
LAB
lab(48.09, -28.13, 50.15)
LCH
lch(48.09, 57.5, 119.29)
OKLCH
oklch(54.3%, 0.1357, 127)
HWB
hwb(78.6, 4.7%, 51%)

Harmony colors

Complementary

#2f0c7d

Analogous

#7d680c
#5a7d0c
#227d0c

Triadic

#5a7d0c
#0c5a7d
#7d0c5a

Split-complementary

#5a7d0c
#0c227d
#680c7d

Tetradic

#5a7d0c
#0c7d2f
#2f0c7d
#7d0c5a

Square

#5a7d0c
#0c7d68
#2f0c7d
#7d0c22

Shades

Color #5a7d0c mixed toward black.

#4b680a
#3c5308
#2d3f06
#1e2a04
#0f1502

Tints

Color #5a7d0c mixed toward white.

#83b611
#aae91c
#bfef55
#d4f48e
#eafac6

Tones

Color #5a7d0c mixed toward gray.

#577415
#536a1f
#4f6128
#4c5732
#484e3b

Accessibility

Aa White text on this color
4.8:1
Aa Black text on this color
4.37:1

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

Under color vision deficiencies

Protanopia

#6b6b41 · ΔE 13.2

Deuteranopia

#696648 · ΔE 16.7

Tritanopia

#5c5559 · ΔE 33.2

Achromatopsia

#727272 · ΔE 25.3

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

Code

CSS
background-color: #5a7d0c;
Tailwind (arbitrary value)
bg-[#5a7d0c]

Related colors

Olive Drab #6b8e23
Yellow Green #9acd32
Dark Olive Green #556b2f
Green Yellow #adff2f
Chartreuse #7fff00
Lawn Green #7cfc00

Frequently asked questions

#5a7d0c (#5a7d0c) is rgb(90, 125, 12) in RGB.

No, #5a7d0c 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 #5a7d0c, 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.