#407A4E#407A4E

#407A4E is a mid, moderate green. Relative luminance 0.156; OKLCH L 52.8% C 0.092 H 150.1°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#407A4E
RGBrgb(64, 122, 78)
HSLhsl(134, 31%, 36%)
HSVhsv(134, 48%, 48%)
CMYKcmyk(47.5%, 0%, 36.1%, 52.2%)
CIE-LABlab(46.39, -29.40, 18.37)
CIE-LCHlch(46.39, 34.67, 148.00°)
OKLaboklab(52.76% -0.08 0.0461)
OKLCHoklch(52.76% 0.092 150.1)
XYZxyz(10.4484, 15.5584, 9.6587)
Luminance0.1556 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407A4E #7A406C
analogous
#4F7A40 #407A4E #407A6B
triadic
#407A4E #4E407A #7A4E40
tetradic
#407A4E #404F7A #7A406C #7A6B40
square
#407A4E #404F7A #7A406C #7A6B40
split-complementary
#407A4E #6B407A #7A404F
monochromatic
#162A1B #2B5234 #407A4E #55A268 #7BBA8A

Accessibility & contrast

On white

5.11
#407A4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#407A4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407A4E
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407A4E#FFFFFF#000000##FFFFFF
##407A4E1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B714B
Deuteranopia (green-blind)
#726C51
Tritanopia (blue-blind)
#35786F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #407a4e;
/* rgb */ color: rgb(64, 122, 78);
/* oklch */ color: oklch(52.8% 0.092 150.1);
Tailwind
colors: {
  custom: {
    50: '#78a180',
    500: '#407a4e',
    950: '#000000',
  },
}
SCSS
$custom: #407a4e;
$custom-light: #78a180;
$custom-dark: #000000;
JSON
{
  "hex": "#407a4e",
  "rgb": {
    "r": 64,
    "g": 122,
    "b": 78
  },
  "hsl": {
    "h": 134.483,
    "s": 31.183,
    "l": 36.471
  },
  "oklch": {
    "l": 0.52762,
    "c": 0.09235,
    "h": 150.1
  },
  "luminance": 0.15559
}

Semantic roles & 50–950 ramp

primary
#407A4E
secondary
#A47298
accent
#60AFC7
background
#F7F9F7
surface
#EDF2EE
border
#C8CCC9
text
#090F0A
muted
#7B7E7C

Preview Lab

Preview with #407A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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