#408762#408762

#408762 is a mid, moderate green. Relative luminance 0.193; OKLCH L 56.7% C 0.093 H 158.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#408762
RGBrgb(64, 135, 98)
HSLhsl(149, 36%, 39%)
HSVhsv(149, 53%, 53%)
CMYKcmyk(52.6%, 0%, 27.4%, 47.1%)
CIE-LABlab(51.03, -31.45, 13.22)
CIE-LCHlch(51.03, 34.12, 157.19°)
OKLaboklab(56.68% -0.0863 0.0337)
OKLCHoklch(56.68% 0.093 158.7)
XYZxyz(12.9819, 19.2987, 14.5938)
Luminance0.1930 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408762 #874065
analogous
#428740 #408762 #408786
triadic
#408762 #624087 #876240
tetradic
#408762 #404287 #874065 #878640
square
#408762 #404287 #874065 #878640
split-complementary
#408762 #864087 #874042
monochromatic
#193426 #2C5D44 #408762 #56AF80 #7FC29F

Accessibility & contrast

On white

4.32
#408762 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#408762 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408762
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408762#FFFFFF#000000##000000
##4087621.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#867E60
Deuteranopia (green-blind)
#7B7764
Tritanopia (blue-blind)
#2B867D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #408762;
/* rgb */ color: rgb(64, 135, 98);
/* oklch */ color: oklch(56.7% 0.093 158.7);
Tailwind
colors: {
  custom: {
    50: '#7aaa8e',
    500: '#408762',
    950: '#000000',
  },
}
SCSS
$custom: #408762;
$custom-light: #7aaa8e;
$custom-dark: #000000;
JSON
{
  "hex": "#408762",
  "rgb": {
    "r": 64,
    "g": 135,
    "b": 98
  },
  "hsl": {
    "h": 148.732,
    "s": 35.678,
    "l": 39.02
  },
  "oklch": {
    "l": 0.56682,
    "c": 0.09267,
    "h": 158.7
  },
  "luminance": 0.193
}

Semantic roles & 50–950 ramp

primary
#408762
secondary
#AD7693
accent
#5C96CC
background
#F7FAF8
surface
#EEF4F0
border
#C9CECB
text
#0A100C
muted
#7C7F7D

Preview Lab

Preview with #408762

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

Preview Lab → · Contrast checker → · Palette generator →

#408762 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva