#407B4E#407B4E

#407B4E is a mid, moderate green. Relative luminance 0.158; OKLCH L 53.0% C 0.094 H 149.9°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#407B4E
RGBrgb(64, 123, 78)
HSLhsl(134, 32%, 37%)
HSVhsv(134, 48%, 48%)
CMYKcmyk(48%, 0%, 36.6%, 51.8%)
CIE-LABlab(46.72, -29.88, 18.81)
CIE-LCHlch(46.72, 35.31, 147.81°)
OKLaboklab(53.03% -0.0813 0.0471)
OKLCHoklch(53.03% 0.094 149.9)
XYZxyz(10.5718, 15.8052, 9.6999)
Luminance0.1581 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407B4E #7B406D
analogous
#507B40 #407B4E #407B6C
triadic
#407B4E #4E407B #7B4E40
tetradic
#407B4E #40507B #7B406D #7B6C40
square
#407B4E #40507B #7B406D #7B6C40
split-complementary
#407B4E #6C407B #7B4050
monochromatic
#162A1B #2B5334 #407B4E #55A368 #7BBA8A

Accessibility & contrast

On white

5.05
#407B4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#407B4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407B4E
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407B4E#FFFFFF#000000##FFFFFF
##407B4E1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C724B
Deuteranopia (green-blind)
#736C51
Tritanopia (blue-blind)
#35796F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #407b4e;
/* rgb */ color: rgb(64, 123, 78);
/* oklch */ color: oklch(53.0% 0.094 149.9);
Tailwind
colors: {
  custom: {
    50: '#79a180',
    500: '#407b4e',
    950: '#000000',
  },
}
SCSS
$custom: #407b4e;
$custom-light: #79a180;
$custom-dark: #000000;
JSON
{
  "hex": "#407b4e",
  "rgb": {
    "r": 64,
    "g": 123,
    "b": 78
  },
  "hsl": {
    "h": 134.237,
    "s": 31.551,
    "l": 36.667
  },
  "oklch": {
    "l": 0.53029,
    "c": 0.09396,
    "h": 149.9
  },
  "luminance": 0.15806
}

Semantic roles & 50–950 ramp

primary
#407B4E
secondary
#A57299
accent
#60AFC8
background
#F7FAF7
surface
#EEF3EE
border
#C9CDC9
text
#090F0A
muted
#7B7F7C

Preview Lab

Preview with #407B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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