#408B2B#408B2B

#408B2B is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.8% C 0.151 H 139.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#408B2B
RGBrgb(64, 139, 43)
HSLhsl(107, 53%, 36%)
HSVhsv(107, 69%, 55%)
CMYKcmyk(54%, 0%, 69.1%, 45.5%)
CIE-LABlab(51.53, -41.77, 42.62)
CIE-LCHlch(51.53, 59.67, 134.42°)
OKLaboklab(56.82% -0.1147 0.0978)
OKLCHoklch(56.82% 0.151 139.6)
XYZxyz(11.7825, 19.7287, 5.4722)
Luminance0.1973 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408B2B #762B8B
analogous
#708B2B #408B2B #2B8B46
triadic
#408B2B #2B408B #8B2B40
tetradic
#408B2B #2B708B #762B8B #8B462B
square
#408B2B #2B708B #762B8B #8B462B
split-complementary
#408B2B #462B8B #8B2B70
monochromatic
#152E0E #2A5C1D #408B2B #56BA39 #7ACE62

Accessibility & contrast

On white

4.25
#408B2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#408B2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408B2B
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408B2B#FFFFFF#000000##000000
##408B2B1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F1E
Deuteranopia (green-blind)
#857834
Tritanopia (blue-blind)
#398677
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #408b2b;
/* rgb */ color: rgb(64, 139, 43);
/* oklch */ color: oklch(56.8% 0.151 139.6);
Tailwind
colors: {
  custom: {
    50: '#7cad69',
    500: '#408b2b',
    950: '#000000',
  },
}
SCSS
$custom: #408b2b;
$custom-light: #7cad69;
$custom-dark: #000000;
JSON
{
  "hex": "#408b2b",
  "rgb": {
    "r": 64,
    "g": 139,
    "b": 43
  },
  "hsl": {
    "h": 106.875,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56822,
    "c": 0.15074,
    "h": 139.6
  },
  "luminance": 0.1973
}

Semantic roles & 50–950 ramp

primary
#408B2B
secondary
#A15DB5
accent
#4CDCBD
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #408B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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