darkgreen

#006400 · CSS color name

darkgreen is the CSS color name for #006400: RGB(0, 100, 0), HSL(120°, 100%, 20%), CMYK(100%, 0%, 100%, 61%). Contrast is 7.44:1 on white and 2.82:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#006400
CSS color namedarkgreen
RGBrgb(0 100 0)
RGB (legacy)rgb(0, 100, 0)
RGB %rgb(0% 39% 0%)
HSLhsl(120 100% 20%)
HSV / HSBhsv(120, 100%, 39%)
HWBhwb(120 0% 61%)
CMYKcmyk(100%, 0%, 100%, 61%)
CIELAB (D50)lab(36.24 -39.89 40.76)
LCHlch(36.24 57.03 134.38)
OKLaboklab(0.436 -0.1177 0.0903)
OKLCHoklch(0.436 0.1484 142.5)
Decimal25600

Properties

Color ToneGreen
Closest named colordarkgreen ΔE 0
Closest web-safe color#006600
Hue120°
Saturation (HSL / HSV)100% / 100%
Lightness (HSL)20%
Brightness or Value (HSV)39%
Luminance (Rec.601 / Rec.709)23% / 28%
Relative luminance (WCAG)0.0911
Red / Green / Blue0 / 100 / 0

WCAG 2.2 Contrast Ratio

On White (#ffffff)
7.44:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.82:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 85.1 / -16.9 · As background with white / black text: Lc -90 / 18.9

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-darkgreen: #006400;
  --color-darkgreen-oklch: oklch(43.6% 0.1484 142.5);
}
.text { color: var(--color-darkgreen); }
.background { background-color: var(--color-darkgreen); }
.border { border: 1px solid rgb(0 100 0 / 50%); }
/* Tailwind CSS */
<div class="bg-[#006400] text-[#006400] border-[#006400]">