#407C4E#407C4E

#407C4E is a mid, moderate green. Relative luminance 0.161; OKLCH L 53.3% C 0.096 H 149.7°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#407C4E
RGBrgb(64, 124, 78)
HSLhsl(134, 32%, 37%)
HSVhsv(134, 48%, 49%)
CMYKcmyk(48.4%, 0%, 37.1%, 51.4%)
CIE-LABlab(47.05, -30.35, 19.25)
CIE-LCHlch(47.05, 35.94, 147.62°)
OKLaboklab(53.3% -0.0825 0.0482)
OKLCHoklch(53.3% 0.096 149.7)
XYZxyz(10.6965, 16.0546, 9.7414)
Luminance0.1605 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407C4E #7C406E
analogous
#507C40 #407C4E #407C6C
triadic
#407C4E #4E407C #7C4E40
tetradic
#407C4E #40507C #7C406E #7C6C40
square
#407C4E #40507C #7C406E #7C6C40
split-complementary
#407C4E #6C407C #7C4050
monochromatic
#162B1B #2B5435 #407C4E #55A467 #7BBB8A

Accessibility & contrast

On white

4.99
#407C4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#407C4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407C4E
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407C4E#FFFFFF#000000##FFFFFF
##407C4E1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D734B
Deuteranopia (green-blind)
#746D51
Tritanopia (blue-blind)
#357A70
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #407c4e;
/* rgb */ color: rgb(64, 124, 78);
/* oklch */ color: oklch(53.3% 0.096 149.7);
Tailwind
colors: {
  custom: {
    50: '#79a280',
    500: '#407c4e',
    950: '#000000',
  },
}
SCSS
$custom: #407c4e;
$custom-light: #79a280;
$custom-dark: #000000;
JSON
{
  "hex": "#407c4e",
  "rgb": {
    "r": 64,
    "g": 124,
    "b": 78
  },
  "hsl": {
    "h": 134,
    "s": 31.915,
    "l": 36.863
  },
  "oklch": {
    "l": 0.53297,
    "c": 0.09558,
    "h": 149.7
  },
  "luminance": 0.16055
}

Semantic roles & 50–950 ramp

primary
#407C4E
secondary
#A6729A
accent
#60B0C8
background
#F7FAF7
surface
#EEF3EE
border
#C9CDC9
text
#090F0A
muted
#7B7F7C

Preview Lab

Preview with #407C4E

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

Preview Lab → · Contrast checker → · Palette generator →

#407C4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva