#408C35#408C35

#408C35 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.2% C 0.144 H 141.2°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#408C35
RGBrgb(64, 140, 53)
HSLhsl(112, 45%, 38%)
HSVhsv(112, 62%, 55%)
CMYKcmyk(54.3%, 0%, 62.1%, 45.1%)
CIE-LABlab(51.95, -41.13, 38.56)
CIE-LCHlch(51.95, 56.38, 136.85°)
OKLaboklab(57.2% -0.1124 0.0903)
OKLCHoklch(57.2% 0.144 141.2)
XYZxyz(12.1345, 20.1022, 6.6081)
Luminance0.2010 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408C35 #81358C
analogous
#6B8C35 #408C35 #358C55
triadic
#408C35 #35408C #8C3540
tetradic
#408C35 #356B8C #81358C #8C5535
square
#408C35 #356B8C #81358C #8C5535
split-complementary
#408C35 #55358C #8C356B
monochromatic
#173313 #2C6024 #408C35 #54B846 #7DCA72

Accessibility & contrast

On white

4.18
#408C35 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#408C35 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408C35
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408C35#FFFFFF#000000##000000
##408C351.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F802B
Deuteranopia (green-blind)
#85793C
Tritanopia (blue-blind)
#378879
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #408c35;
/* rgb */ color: rgb(64, 140, 53);
/* oklch */ color: oklch(57.2% 0.144 141.2);
Tailwind
colors: {
  custom: {
    50: '#7cae70',
    500: '#408c35',
    950: '#000000',
  },
}
SCSS
$custom: #408c35;
$custom-light: #7cae70;
$custom-dark: #000000;
JSON
{
  "hex": "#408c35",
  "rgb": {
    "r": 64,
    "g": 140,
    "b": 53
  },
  "hsl": {
    "h": 112.414,
    "s": 45.078,
    "l": 37.843
  },
  "oklch": {
    "l": 0.572,
    "c": 0.14416,
    "h": 141.2
  },
  "luminance": 0.20103
}

Semantic roles & 50–950 ramp

primary
#408C35
secondary
#A96BB2
accent
#53D5C4
background
#F7FAF6
surface
#EEF4EC
border
#C9CEC7
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #408C35

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

Preview Lab → · Contrast checker → · Palette generator →

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