#408C19

A color in the Green family

#408c19 is a color in the Green family: RGB(64, 140, 25), HSL(100°, 70%, 32%), CMYK(54%, 0%, 82%, 45%). Closest named color: forestgreen. Contrast is 4.21:1 on white and 4.98:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#408c19
RGBrgb(64 140 25)
RGB (legacy)rgb(64, 140, 25)
RGB %rgb(25% 55% 10%)
HSLhsl(100 70% 32%)
HSV / HSBhsv(100, 82%, 55%)
HWBhwb(100 10% 45%)
CMYKcmyk(54%, 0%, 82%, 45%)
CIELAB (D50)lab(51.84 -39.52 48.49)
LCHlch(51.84 62.55 129.18)
OKLaboklab(0.5696 -0.1205 0.1096)
OKLCHoklch(0.5696 0.1629 137.73)
Decimal4230169

Properties

Color ToneGreen
Closest named colorforestgreen ΔE 2
Closest web-safe color#339900
Hue100°
Saturation (HSL / HSV)70% / 82%
Lightness (HSL)32%
Brightness or Value (HSV)55%
Luminance (Rec.601 / Rec.709)41% / 45%
Relative luminance (WCAG)0.1992
Red / Green / Blue64 / 140 / 25

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.21:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.98: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.7 / -32.9 · As background with white / black text: Lc -74.2 / 35.3

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: #408c19;
  --color-brand-oklch: oklch(56.96% 0.1629 137.73);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(64 140 25 / 50%); }
/* Tailwind CSS */
<div class="bg-[#408c19] text-[#408c19] border-[#408c19]">