#408752#408752

#408752 is a mid, moderate green. Relative luminance 0.190; OKLCH L 56.3% C 0.109 H 149.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#408752
RGBrgb(64, 135, 82)
HSLhsl(135, 36%, 39%)
HSVhsv(135, 53%, 53%)
CMYKcmyk(52.6%, 0%, 39.3%, 47.1%)
CIE-LABlab(50.72, -34.67, 21.87)
CIE-LCHlch(50.72, 40.99, 147.76°)
OKLaboklab(56.32% -0.0941 0.0545)
OKLCHoklch(56.32% 0.109 149.9)
XYZxyz(12.3005, 19.0261, 11.0052)
Luminance0.1903 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408752 #874075
analogous
#528740 #408752 #408776
triadic
#408752 #524087 #875240
tetradic
#408752 #405287 #874075 #877640
square
#408752 #405287 #874075 #877640
split-complementary
#408752 #764087 #874052
monochromatic
#193420 #2C5D39 #408752 #56AF6C #7FC290

Accessibility & contrast

On white

4.37
#408752 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#408752 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408752
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408752#FFFFFF#000000##000000
##4087521.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#887D4E
Deuteranopia (green-blind)
#7E7655
Tritanopia (blue-blind)
#31857A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #408752;
/* rgb */ color: rgb(64, 135, 82);
/* oklch */ color: oklch(56.3% 0.109 149.9);
Tailwind
colors: {
  custom: {
    50: '#7aaa83',
    500: '#408752',
    950: '#000000',
  },
}
SCSS
$custom: #408752;
$custom-light: #7aaa83;
$custom-dark: #000000;
JSON
{
  "hex": "#408752",
  "rgb": {
    "r": 64,
    "g": 135,
    "b": 82
  },
  "hsl": {
    "h": 135.211,
    "s": 35.678,
    "l": 39.02
  },
  "oklch": {
    "l": 0.56319,
    "c": 0.10873,
    "h": 149.9
  },
  "luminance": 0.19027
}

Semantic roles & 50–950 ramp

primary
#408752
secondary
#AD769F
accent
#5CAFCC
background
#F7FAF8
surface
#EEF4EF
border
#C9CECA
text
#0A100A
muted
#7C7F7C

Preview Lab

Preview with #408752

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

Preview Lab → · Contrast checker → · Palette generator →

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