Skip to content

Dark Green (#006400)

The hex code for Dark Green is #006400. It is rgb(0, 100, 0) in RGB, hsl(120, 100%, 20%) in HSL, and about cmyk(100%, 0%, 100%, 61%) in CMYK — a dark green. White text is the more readable choice on this background.

#006400
HEX#006400
RGBrgb(0, 100, 0)
HSLhsl(120, 100%, 20%)
HSVhsv(120, 100%, 39%)
CMYKcmyk(100%, 0%, 100%, 61%)
OKLCHoklch(43.6% 0.148 142.5)
LABlab(36.24% -39.89 40.76)
LCHlch(36.24% 57.03 134.38)

Colors Closest to Dark Green

Dark Green is a registered color name, also listed as Dark Green (X11). These are the named colors nearest to it, measured as CIE76 distance in CIELAB — a perceptual scale, so the ordering matches what the eye sees rather than how close the raw RGB numbers happen to sit.

Browse the full index of named colors A-Z or every green in the library.

#006400 Channel Values

How Dark Green breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 0 · G 100 · B 08-bit channels as sent to the display
HSLH 120° · S 100% · L 20%Easiest model for building lighter and darker variants
HSVH 120° · S 100% · V 39%Matches the picker in most design tools
CMYKC 100% · M 0% · Y 100% · K 61%Approximate ink mix; confirm with an ICC profile before printing
Luminance7.44:1 vs white · 2.82:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a Dark Green background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

TextWhite text7.44:1AA normal AA large AAA normal
Fails AABlack text2.82:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #006400 in the contrast checker.

Colors That Go With Dark Green

Pairings derived from color-wheel relationships. The complementary color sits opposite Dark Green; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of Dark Green

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #006400.

How Dark Green Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#006400
Protanopia#5B5B02
Protanomaly#475F01
Deuteranopia#52520C
Deuteranomaly#405A07
Tritanopia#225E5E
Tritanomaly#196049
Achromatopsia#555555

Test a full palette in the color blindness simulator.

Using #006400 in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--dark-green: #006400;
CSS backgroundbackground-color: #006400;
Tailwind configcolors: { 'dark-green': '#006400' }
SwiftUIColor(red: 0.000, green: 0.392, blue: 0.000)
Android XML<color name="dark_green">#006400</color>
SVG fillfill="#006400"

More Green Colors

Dark Green sits in the green family. These are its neighbours across that family's full range, each with its own breakdown.

#006400 Frequently Asked Questions

What is the hex code for Dark Green?

The hex code for Dark Green is #006400. That is rgb(0, 100, 0) in RGB, hsl(120, 100%, 20%) in HSL, and approximately cmyk(100%, 0%, 100%, 61%) in CMYK.

What is the RGB value of #006400?

#006400 is rgb(0, 100, 0) — red 0, green 100, and blue 0 on the 0-255 scale.

What is the CMYK value of #006400?

#006400 converts to approximately cmyk(100%, 0%, 100%, 61%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #006400 be black or white?

White text is the more readable choice. #006400 scores 7.44:1 against white and 2.82:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Is DarkGreen a CSS named color?

Yes. DarkGreen is one of the CSS named colors, so you can write color: darkgreen instead of the hex code.

Open Dark Green in a Tool

Keep exploring: every green in the color library, the guide to shades of green, or the full color library.