#408751#408751

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

Color values

HEX#408751
RGBrgb(64, 135, 81)
HSLhsl(134, 36%, 39%)
HSVhsv(134, 53%, 53%)
CMYKcmyk(52.6%, 0%, 40%, 47.1%)
CIE-LABlab(50.70, -34.85, 22.40)
CIE-LCHlch(50.70, 41.43, 147.27°)
OKLaboklab(56.3% -0.0946 0.0557)
OKLCHoklch(56.3% 0.11 149.5)
XYZxyz(12.2627, 19.0110, 10.8063)
Luminance0.1901 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408751 #874076
analogous
#538740 #408751 #408775
triadic
#408751 #514087 #875140
tetradic
#408751 #405387 #874076 #877540
square
#408751 #405387 #874076 #877540
split-complementary
#408751 #754087 #874053
monochromatic
#19341F #2C5D38 #408751 #56AF6B #7FC28F

Accessibility & contrast

On white

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

On black

4.80
#408751 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408751
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408751#FFFFFF#000000##000000
##4087511.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#887D4D
Deuteranopia (green-blind)
#7E7654
Tritanopia (blue-blind)
#318579
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #408751;
/* rgb */ color: rgb(64, 135, 81);
/* oklch */ color: oklch(56.3% 0.110 149.5);
Tailwind
colors: {
  custom: {
    50: '#7aaa82',
    500: '#408751',
    950: '#000000',
  },
}
SCSS
$custom: #408751;
$custom-light: #7aaa82;
$custom-dark: #000000;
JSON
{
  "hex": "#408751",
  "rgb": {
    "r": 64,
    "g": 135,
    "b": 81
  },
  "hsl": {
    "h": 134.366,
    "s": 35.678,
    "l": 39.02
  },
  "oklch": {
    "l": 0.56299,
    "c": 0.10977,
    "h": 149.5
  },
  "luminance": 0.19012
}

Semantic roles & 50–950 ramp

primary
#408751
secondary
#AD76A0
accent
#5CB1CC
background
#F7FAF8
surface
#EEF4EF
border
#C9CECA
text
#0A100A
muted
#7C7F7C

Preview Lab

Preview with #408751

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

Preview Lab → · Contrast checker → · Palette generator →

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