#408000

#408000 is the hex color Green. 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 #408000; the exact match is none.

Open #408000 in the picker

#408000 color codes

HEX
#408000
HEX8
#408000FF
HEX8 (Android)
#FF408000
RGB
rgb(64, 128, 0)
RGB (%)
25%, 50%, 0%
HSL
hsl(90, 100%, 25%)
HSV / HSB
hsv(90, 100%, 50%)
CMYK
cmyk(50%, 0%, 100%, 50%)
OKLCH
oklch(0.5357 0.157 135.2)
OKLCH (%)
oklch(53.57% 0.157 135.2)
Decimal
4227072

What color is #408000?

#408000 sits at 54% lightness and 0.157 chroma in OKLCH, hue 135.2°. Its nearest named color is Green.

Shades and tints of #408000

Tints

Shades

Tones

#408000 color harmonies

Complementary

Analogous

Triadic

Split-complementary

Tetradic

Square

Monochromatic

Using #408000 in CSS

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

/* Modern, perceptually uniform */
.text { color: oklch(0.5357 0.157 135.2); }

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

Is #408000 accessible?

#408000 on white text scores 4.88:1; on black text it scores 4.31:1. White text passes WCAG AA for normal text on #408000. Recommended text color on a #408000 background: white.

A 4.31:1 vs black
A 4.88:1 vs white
  • AA normal ≥ 4.5 Pass
  • AA large ≥ 3 Pass
  • AAA normal ≥ 7 Fail
  • AAA large ≥ 4.5 Pass

Recommended text color: white

CSS contrast-color() contrast-color(#408000) → white
APCA Lc experimental 78.9 Lc · body text (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 #408000?
#408000 is closest to Green. In RGB it is rgb(64, 128, 0), and in HSL hsl(90, 100%, 25%).
What is #408000 in RGB?
#408000 converts to rgb(64, 128, 0) — red 64, green 128, blue 0.
What text color is readable on #408000?
White text — it has the higher contrast ratio (4.88:1) against #408000. White text passes WCAG AA for normal text on #408000.
Open #408000 in the picker