#006400

darkgreen

#006400 is a green colour. In RGB it is 0 red, 100 green and 0 blue, which converts to a hue of 120 degrees, 100% saturation and 20% lightness. It is one of the named CSS colours, written as darkgreen in stylesheets.

Color values

HEX#006400
RGBrgb(0, 100, 0)
HSLhsl(120, 100%, 20%)
HSVhsv(120, 100%, 39%)
CMYKcmyk(100%, 0%, 100%, 61%)

Contrast and accessibility

Against white the contrast ratio is 7.44:1, and against black it is 2.82:1. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text.

BackgroundRatioNormal textLarge text
White7.44:1AAAAAA
Black2.82:1FailFail

Tints and shades

Lighter tints move #006400 toward white, and darker shades move it toward black.

Tints

Shades

Color harmonies

Complementary

Analogous

Triadic

Split complementary

Code

CSScolor: #006400;
CSS rgb()color: rgb(0 100 0);
Tailwindbg-[#006400]
SwiftUIColor(red: 0.000, green: 0.392, blue: 0.000)
AndroidColor.parseColor("#006400")

Related tools