#407956#407956

#407956 is a mid, moderate green. Relative luminance 0.154; OKLCH L 52.7% C 0.082 H 155.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#407956
RGBrgb(64, 121, 86)
HSLhsl(143, 31%, 36%)
HSVhsv(143, 47%, 47%)
CMYKcmyk(47.1%, 0%, 28.9%, 52.5%)
CIE-LABlab(46.23, -27.31, 13.52)
CIE-LCHlch(46.23, 30.47, 153.67°)
OKLaboklab(52.68% -0.0748 0.0344)
OKLCHoklch(52.68% 0.082 155.3)
XYZxyz(10.6307, 15.4358, 11.2215)
Luminance0.1544 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407956 #794063
analogous
#477940 #407956 #407973
triadic
#407956 #564079 #795640
tetradic
#407956 #404779 #794063 #797340
square
#407956 #404779 #794063 #797340
split-complementary
#407956 #734079 #794047
monochromatic
#16291D #2B513A #407956 #55A172 #7AB993

Accessibility & contrast

On white

5.14
#407956 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#407956 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407956
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407956#FFFFFF#000000##FFFFFF
##4079561.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797154
Deuteranopia (green-blind)
#706B58
Tritanopia (blue-blind)
#337870
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #407956;
/* rgb */ color: rgb(64, 121, 86);
/* oklch */ color: oklch(52.7% 0.082 155.3);
Tailwind
colors: {
  custom: {
    50: '#78a085',
    500: '#407956',
    950: '#000000',
  },
}
SCSS
$custom: #407956;
$custom-light: #78a085;
$custom-dark: #000000;
JSON
{
  "hex": "#407956",
  "rgb": {
    "r": 64,
    "g": 121,
    "b": 86
  },
  "hsl": {
    "h": 143.158,
    "s": 30.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.52682,
    "c": 0.08233,
    "h": 155.3
  },
  "luminance": 0.15437
}

Semantic roles & 50–950 ramp

primary
#407956
secondary
#A47190
accent
#61A0C7
background
#F7F9F8
surface
#EDF2EF
border
#C8CCCA
text
#090E0B
muted
#7B7E7C

Preview Lab

Preview with #407956

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

Preview Lab → · Contrast checker → · Palette generator →

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