#408D64#408D64

#408D64 is a mid, moderate green. Relative luminance 0.211; OKLCH L 58.3% C 0.100 H 157.8°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#408D64
RGBrgb(64, 141, 100)
HSLhsl(148, 38%, 40%)
HSVhsv(148, 55%, 55%)
CMYKcmyk(54.6%, 0%, 29.1%, 44.7%)
CIE-LABlab(53.01, -33.80, 14.82)
CIE-LCHlch(53.01, 36.91, 156.33°)
OKLaboklab(58.31% -0.0925 0.0377)
OKLCHoklch(58.31% 0.1 157.8)
XYZxyz(13.9383, 21.0586, 15.3843)
Luminance0.2106 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408D64 #8D4069
analogous
#428D40 #408D64 #408D8A
triadic
#408D64 #64408D #8D6440
tetradic
#408D64 #40428D #8D4069 #8D8A40
square
#408D64 #40428D #8D4069 #8D8A40
split-complementary
#408D64 #8A408D #8D4042
monochromatic
#1A3928 #2D6346 #408D64 #57B382 #81C6A1

Accessibility & contrast

On white

4.03
#408D64 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#408D64 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408D64
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408D64#FFFFFF#000000##000000
##408D641.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8362
Deuteranopia (green-blind)
#817B67
Tritanopia (blue-blind)
#288C82
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #408d64;
/* rgb */ color: rgb(64, 141, 100);
/* oklch */ color: oklch(58.3% 0.100 157.8);
Tailwind
colors: {
  custom: {
    50: '#7baf90',
    500: '#408d64',
    950: '#000000',
  },
}
SCSS
$custom: #408d64;
$custom-light: #7baf90;
$custom-dark: #000000;
JSON
{
  "hex": "#408d64",
  "rgb": {
    "r": 64,
    "g": 141,
    "b": 100
  },
  "hsl": {
    "h": 148.052,
    "s": 37.561,
    "l": 40.196
  },
  "oklch": {
    "l": 0.5831,
    "c": 0.09991,
    "h": 157.8
  },
  "luminance": 0.2106
}

Semantic roles & 50–950 ramp

primary
#408D64
secondary
#B07896
accent
#5A98CE
background
#F7FAF8
surface
#EEF4F0
border
#C9CECB
text
#0A100C
muted
#7C7F7D

Preview Lab

Preview with #408D64

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

Preview Lab → · Contrast checker → · Palette generator →

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