#408C2C#408C2C

#408C2C is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.1% C 0.151 H 139.8°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#408C2C
RGBrgb(64, 140, 44)
HSLhsl(108, 52%, 36%)
HSVhsv(108, 69%, 55%)
CMYKcmyk(54.3%, 0%, 68.6%, 45.1%)
CIE-LABlab(51.87, -42.07, 42.55)
CIE-LCHlch(51.87, 59.84, 134.67°)
OKLaboklab(57.1% -0.1155 0.0978)
OKLCHoklch(57.1% 0.151 139.8)
XYZxyz(11.9466, 20.0271, 5.6185)
Luminance0.2003 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408C2C #782C8C
analogous
#708C2C #408C2C #2C8C48
triadic
#408C2C #2C408C #8C2C40
tetradic
#408C2C #2C708C #782C8C #8C482C
square
#408C2C #2C708C #782C8C #8C482C
split-complementary
#408C2C #482C8C #8C2C70
monochromatic
#152F0F #2B5D1D #408C2C #55BB3B #7ACE64

Accessibility & contrast

On white

4.20
#408C2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#408C2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408C2C
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408C2C#FFFFFF#000000##000000
##408C2C1.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#90801F
Deuteranopia (green-blind)
#867935
Tritanopia (blue-blind)
#388778
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #408c2c;
/* rgb */ color: rgb(64, 140, 44);
/* oklch */ color: oklch(57.1% 0.151 139.8);
Tailwind
colors: {
  custom: {
    50: '#7dae6a',
    500: '#408c2c',
    950: '#000000',
  },
}
SCSS
$custom: #408c2c;
$custom-light: #7dae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#408c2c",
  "rgb": {
    "r": 64,
    "g": 140,
    "b": 44
  },
  "hsl": {
    "h": 107.5,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57103,
    "c": 0.15131,
    "h": 139.8
  },
  "luminance": 0.20028
}

Semantic roles & 50–950 ramp

primary
#408C2C
secondary
#A35FB5
accent
#4CDCBE
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #408C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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