#408D21

A color in the Green family

#408d21 is a color in the Green family: RGB(64, 141, 33), HSL(103°, 62%, 34%), CMYK(55%, 0%, 77%, 45%). Closest named color: forestgreen. Contrast is 4.16:1 on white and 5.05:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#408d21
RGBrgb(64 141 33)
RGB (legacy)rgb(64, 141, 33)
RGB %rgb(25% 55% 13%)
HSLhsl(103 62% 34%)
HSV / HSBhsv(103, 77%, 55%)
HWBhwb(103 13% 45%)
CMYKcmyk(55%, 0%, 77%, 45%)
CIELAB (D50)lab(52.21 -39.52 46.27)
LCHlch(52.21 60.85 130.5)
OKLaboklab(0.5728 -0.1198 0.1059)
OKLCHoklch(0.5728 0.1599 138.5)
Decimal4230433

Properties

Color ToneGreen
Closest named colorforestgreen ΔE 2.2
Closest web-safe color#339933
Hue103°
Saturation (HSL / HSV)62% / 77%
Lightness (HSL)34%
Brightness or Value (HSV)55%
Luminance (Rec.601 / Rec.709)41% / 46%
Relative luminance (WCAG)0.2025
Red / Green / Blue64 / 141 / 33

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 68.3 / -33.4 · As background with white / black text: Lc -73.8 / 35.8

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-brand: #408d21;
  --color-brand-oklch: oklch(57.28% 0.1599 138.5);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(64 141 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#408d21] text-[#408d21] border-[#408d21]">