#006400

#006400 is the hex color DarkGreen. Here are its RGB, HSL, HSV, CMYK, and OKLCH values, ready-made shades and palettes, and the text colors that stay readable on it.

This is the nearest named color to #006400; the exact match is DarkGreen.

Open #006400 in the picker

#006400 color codes

HEX
#006400
HEX8
#006400FF
HEX8 (Android)
#FF006400
RGB
rgb(0, 100, 0)
RGB (%)
0%, 39%, 0%
HSL
hsl(120, 100%, 20%)
HSV / HSB
hsv(120, 100%, 39%)
CMYK
cmyk(100%, 0%, 100%, 61%)
OKLCH
oklch(0.436 0.1484 142.5)
OKLCH (%)
oklch(43.6% 0.1484 142.5)
Decimal
25600

What color is #006400?

#006400 sits at 44% lightness and 0.1484 chroma in OKLCH, hue 142.5°. Its nearest named color is DarkGreen (an exact match).

Shades and tints of #006400

Tints

Shades

Tones

#006400 color harmonies

Complementary

Analogous

Triadic

Split-complementary

Tetradic

Square

Monochromatic

Using #006400 in CSS

.text       { color: #006400; }
.background { background-color: #006400; }
.border     { border: 2px solid #006400; }

/* Modern, perceptually uniform */
.text { color: oklch(0.436 0.1484 142.5); }

/* #006400 at 50% transparency */
.overlay { background-color: #00640080; }

Is #006400 accessible?

#006400 on white text scores 7.44:1; on black text it scores 2.82:1. White text passes WCAG AAA on #006400. Recommended text color on a #006400 background: white.

A 2.82:1 vs black
A 7.44:1 vs white
  • AA normal ≥ 4.5 Pass
  • AA large ≥ 3 Pass
  • AAA normal ≥ 7 Pass
  • AAA large ≥ 4.5 Pass

Recommended text color: white

CSS contrast-color() contrast-color(#006400) → white
APCA Lc experimental 90 Lc · body text — preferred (white text)

WCAG 2.1 AA/AAA is the compliance floor; APCA is an optional readability metric.

Related colors

Nearest featured color: Green #008000. See more in the green family on the colors hub.

Frequently asked questions

What color is #006400?
#006400 is DarkGreen. In RGB it is rgb(0, 100, 0), and in HSL hsl(120, 100%, 20%).
What is #006400 in RGB?
#006400 converts to rgb(0, 100, 0) — red 0, green 100, blue 0.
What text color is readable on #006400?
White text — it has the higher contrast ratio (7.44:1) against #006400. White text passes WCAG AAA on #006400.
Open #006400 in the picker