CSS Named Color Reference

Dark Green Color Code

Dark Green·#006400

Green FamilyNeutralDark toneHigh saturationoklch(43.6% 0.148 142)
HEX
#006400Primary token
RGB
rgb(0, 100, 0)Screen values
HSL
hsl(120 100% 20%)Hue and lightness
CMYK
100, 0, 100, 61Print handoff
LAB
36, -43, 42Perceptual reference
OKLCH
oklch(43.6% 0.148 142)Modern perceptual

Dark Green is a deep, high-saturation CSS named color at #006400. If you searched for dark green hex code, 006400, or dark green RGB, this page gives the exact color value, conversion formats, contrast checks, nearby colors, and links into the lookup and converter workflows.

Best text colorWhite text
Body text contrast7.44:1
Best UseSuccess states, natural brands, support actions, and calm interface signals

Tonal Scale

100#D1E3D1
300#8AB88A
500#2E802E
600#006400
800#004800

Contrast Checks

White text on this color

Buttons, badges, and filled actions.

7.44:1AAA-level contrast

Dark text on this color

Large headings and selective UI.

2.31:1Needs more separation

This color on light surface

Links, borders, and icons on light UI.

7.07:1AAA-level contrast
Best text colorWhite textContrast 7.44:1

Professional Reference

OKLCHoklch(43.6% 0.148 142)
Relative Luminance0.0911
Source TypeCSS Named Color
Classification
Green FamilyNeutralDark toneHigh saturation
Source Context
Source Type
CSS Named Color
System
CSS
Closest Matches
Ant Design Green 8Ant Design Green 9Material Light Green 900
Color Notes
  • Dark Green is kept as an exact CSS named color for #006400.
  • Queries for dark green color code, 006400, or dark green RGB usually need the value first, then contrast and implementation context.

Accessibility Matrix

White text on this color

White text placed on the current color.

7.44:1AAA

Dark text on this color

Dark text or headings on the current color.

2.31:1Needs more separation

This color on light surface

Use this color for links, strokes, or icons on light UI.

7.07:1AAA

This color on dark surface

Use this color inside dark shells for strokes, tags, or icons.

2.31:1Needs more separation
Best text colorWhite textContrast 7.44:1 · AAA

Where It Works

  • Use it for success states, support actions, ecology cues, and stable positive feedback.
  • Very bright greens need contrast testing before they become buttons or text backgrounds.
  • Pair with white, charcoal, soft neutrals, and nearby teal or yellow-green colors.

Reference Notes

Last Updated
2026-09-03
Source Library
CSS Standard Colors
Methodology
Verified source values + site guidance
Color Notes

Dark Green is sourced from the published CSS Standard Colors library and retained here as a searchable reference swatch for product and interface reference work.

Hue Family

Natural greens for sustainability and calm systems.

Source Collections
CSS Named Colors

Related Colors

Palette Starting Points

Implementation Snippets

CSS Variables
:root {
  --color-dark-green: #006400;
  --color-dark-green-rgb: 0 100 0;
}
Utility Class
class="bg-[#006400] text-white"
class="hover:bg-[#004800] ring-1 ring-[#006400]"
JSON Token
{
  "darkGreen": "#006400",
  "darkGreenRgb": [0, 100, 0],
  "darkGreenHsl": [120, 100, 20]
}