#408B2C#408B2C

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

Color values

HEX#408B2C
RGBrgb(64, 139, 44)
HSLhsl(107, 52%, 36%)
HSVhsv(107, 68%, 55%)
CMYKcmyk(54%, 0%, 68.3%, 45.5%)
CIE-LABlab(51.54, -41.67, 42.20)
CIE-LCHlch(51.54, 59.31, 134.64°)
OKLaboklab(56.83% -0.1144 0.097)
OKLCHoklch(56.83% 0.15 139.7)
XYZxyz(11.8011, 19.7362, 5.5700)
Luminance0.1974 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408B2C #772C8B
analogous
#6F8B2C #408B2C #2C8B47
triadic
#408B2C #2C408B #8B2C40
tetradic
#408B2C #2C6F8B #772C8B #8B472C
square
#408B2C #2C6F8B #772C8B #8B472C
split-complementary
#408B2C #472C8B #8B2C6F
monochromatic
#152E0F #2B5D1D #408B2C #55B93B #7ACE64

Accessibility & contrast

On white

4.24
#408B2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##408B2C#FFFFFF#000000##000000
##408B2C1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #408b2c;
/* rgb */ color: rgb(64, 139, 44);
/* oklch */ color: oklch(56.8% 0.150 139.7);
Tailwind
colors: {
  custom: {
    50: '#7cad6a',
    500: '#408b2c',
    950: '#000000',
  },
}
SCSS
$custom: #408b2c;
$custom-light: #7cad6a;
$custom-dark: #000000;
JSON
{
  "hex": "#408b2c",
  "rgb": {
    "r": 64,
    "g": 139,
    "b": 44
  },
  "hsl": {
    "h": 107.368,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56831,
    "c": 0.15,
    "h": 139.7
  },
  "luminance": 0.19737
}

Semantic roles & 50–950 ramp

primary
#408B2C
secondary
#A25FB4
accent
#4CDBBD
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #408B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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