#408F2A#408F2A

#408F2A is a mid, vivid green. Relative luminance 0.209; OKLCH L 57.9% C 0.157 H 139.6°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#408F2A
RGBrgb(64, 143, 42)
HSLhsl(107, 55%, 36%)
HSVhsv(107, 71%, 56%)
CMYKcmyk(55.2%, 0%, 70.6%, 43.9%)
CIE-LABlab(52.84, -43.45, 44.43)
CIE-LCHlch(52.84, 62.15, 134.36°)
OKLaboklab(57.9% -0.1194 0.1014)
OKLCHoklch(57.9% 0.157 139.6)
XYZxyz(12.3542, 20.9011, 5.5733)
Luminance0.2090 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408F2A #792A8F
analogous
#738F2A #408F2A #2A8F47
triadic
#408F2A #2A408F #8F2A40
tetradic
#408F2A #2A738F #792A8F #8F472A
square
#408F2A #2A738F #792A8F #8F472A
split-complementary
#408F2A #472A8F #8F2A73
monochromatic
#16300E #2B601C #408F2A #55BE38 #7AD162

Accessibility & contrast

On white

4.05
#408F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#408F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408F2A
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408F2A#FFFFFF#000000##000000
##408F2A1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821B
Deuteranopia (green-blind)
#897C33
Tritanopia (blue-blind)
#388A7B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #408f2a;
/* rgb */ color: rgb(64, 143, 42);
/* oklch */ color: oklch(57.9% 0.157 139.6);
Tailwind
colors: {
  custom: {
    50: '#7db069',
    500: '#408f2a',
    950: '#000000',
  },
}
SCSS
$custom: #408f2a;
$custom-light: #7db069;
$custom-dark: #000000;
JSON
{
  "hex": "#408f2a",
  "rgb": {
    "r": 64,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 106.931,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.579,
    "c": 0.15664,
    "h": 139.6
  },
  "luminance": 0.20902
}

Semantic roles & 50–950 ramp

primary
#408F2A
secondary
#A45EB7
accent
#4ADEBE
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #408F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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