#408D38#408D38

#408D38 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.5% C 0.143 H 141.8°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#408D38
RGBrgb(64, 141, 56)
HSLhsl(114, 43%, 39%)
HSVhsv(114, 60%, 55%)
CMYKcmyk(54.6%, 0%, 60.3%, 44.7%)
CIE-LABlab(52.31, -41.19, 37.54)
CIE-LCHlch(52.31, 55.73, 137.66°)
OKLaboklab(57.51% -0.1124 0.0884)
OKLCHoklch(57.51% 0.143 141.8)
XYZxyz(12.3524, 20.4243, 7.0320)
Luminance0.2042 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408D38 #85388D
analogous
#6A8D38 #408D38 #388D5A
triadic
#408D38 #38408D #8D3840
tetradic
#408D38 #386A8D #85388D #8D5A38
square
#408D38 #386A8D #85388D #8D5A38
split-complementary
#408D38 #5A388D #8D386A
monochromatic
#183515 #2C6127 #408D38 #55B74B #7EC977

Accessibility & contrast

On white

4.13
#408D38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#408D38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408D38
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408D38#FFFFFF#000000##000000
##408D381.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#90812F
Deuteranopia (green-blind)
#867A3F
Tritanopia (blue-blind)
#36897B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #408d38;
/* rgb */ color: rgb(64, 141, 56);
/* oklch */ color: oklch(57.5% 0.143 141.8);
Tailwind
colors: {
  custom: {
    50: '#7caf72',
    500: '#408d38',
    950: '#000000',
  },
}
SCSS
$custom: #408d38;
$custom-light: #7caf72;
$custom-dark: #000000;
JSON
{
  "hex": "#408d38",
  "rgb": {
    "r": 64,
    "g": 141,
    "b": 56
  },
  "hsl": {
    "h": 114.353,
    "s": 43.147,
    "l": 38.627
  },
  "oklch": {
    "l": 0.57507,
    "c": 0.14296,
    "h": 141.8
  },
  "luminance": 0.20425
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #408D38

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

Preview Lab → · Contrast checker → · Palette generator →

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