#408A2F#408A2F

#408A2F is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.6% C 0.146 H 140.1°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#408A2F
RGBrgb(64, 138, 47)
HSLhsl(109, 49%, 36%)
HSVhsv(109, 66%, 54%)
CMYKcmyk(53.6%, 0%, 65.9%, 45.9%)
CIE-LABlab(51.23, -40.97, 40.54)
CIE-LCHlch(51.23, 57.64, 135.30°)
OKLaboklab(56.59% -0.1123 0.0939)
OKLCHoklch(56.59% 0.146 140.1)
XYZxyz(11.7154, 19.4713, 5.8298)
Luminance0.1947 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408A2F #792F8A
analogous
#6E8A2F #408A2F #2F8A4C
triadic
#408A2F #2F408A #8A2F40
tetradic
#408A2F #2F6E8A #792F8A #8A4C2F
square
#408A2F #2F6E8A #792F8A #8A4C2F
split-complementary
#408A2F #4C2F8A #8A2F6E
monochromatic
#162F10 #2B5C1F #408A2F #55B83F #7ACC68

Accessibility & contrast

On white

4.29
#408A2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#408A2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408A2F
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408A2F#FFFFFF#000000##000000
##408A2F1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E24
Deuteranopia (green-blind)
#847837
Tritanopia (blue-blind)
#388677
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #408a2f;
/* rgb */ color: rgb(64, 138, 47);
/* oklch */ color: oklch(56.6% 0.146 140.1);
Tailwind
colors: {
  custom: {
    50: '#7cad6c',
    500: '#408a2f',
    950: '#000000',
  },
}
SCSS
$custom: #408a2f;
$custom-light: #7cad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#408a2f",
  "rgb": {
    "r": 64,
    "g": 138,
    "b": 47
  },
  "hsl": {
    "h": 108.791,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.5659,
    "c": 0.14637,
    "h": 140.1
  },
  "luminance": 0.19472
}

Semantic roles & 50–950 ramp

primary
#408A2F
secondary
#A462B3
accent
#4FD9BF
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #408A2F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#408A2F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva