#408C38#408C38

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

Color values

HEX#408C38
RGBrgb(64, 140, 56)
HSLhsl(114, 43%, 38%)
HSVhsv(114, 60%, 55%)
CMYKcmyk(54.3%, 0%, 60%, 45.1%)
CIE-LABlab(51.98, -40.78, 37.16)
CIE-LCHlch(51.98, 55.17, 137.66°)
OKLaboklab(57.24% -0.1112 0.0876)
OKLCHoklch(57.24% 0.142 141.8)
XYZxyz(12.2057, 20.1307, 6.9830)
Luminance0.2013 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408C38 #84388C
analogous
#6A8C38 #408C38 #388C5A
triadic
#408C38 #38408C #8C3840
tetradic
#408C38 #386A8C #84388C #8C5A38
square
#408C38 #386A8C #84388C #8C5A38
split-complementary
#408C38 #5A388C #8C386A
monochromatic
#183515 #2C6027 #408C38 #55B74A #7EC876

Accessibility & contrast

On white

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

On black

5.03
#408C38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408C38
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408C38#FFFFFF#000000##000000
##408C381.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F802F
Deuteranopia (green-blind)
#85793F
Tritanopia (blue-blind)
#36887A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #408c38;
/* rgb */ color: rgb(64, 140, 56);
/* oklch */ color: oklch(57.2% 0.142 141.8);
Tailwind
colors: {
  custom: {
    50: '#7cae71',
    500: '#408c38',
    950: '#000000',
  },
}
SCSS
$custom: #408c38;
$custom-light: #7cae71;
$custom-dark: #000000;
JSON
{
  "hex": "#408c38",
  "rgb": {
    "r": 64,
    "g": 140,
    "b": 56
  },
  "hsl": {
    "h": 114.286,
    "s": 42.857,
    "l": 38.431
  },
  "oklch": {
    "l": 0.57237,
    "c": 0.14157,
    "h": 141.8
  },
  "luminance": 0.20132
}

Semantic roles & 50–950 ramp

primary
#408C38
secondary
#AB6FB1
accent
#55D3C7
background
#F7FAF7
surface
#EEF4ED
border
#C9CEC8
text
#0A1008
muted
#7C7F7B

Preview Lab

Preview with #408C38

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

Preview Lab → · Contrast checker → · Palette generator →

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