#407A3D#407A3D

#407A3D is a mid, moderate green. Relative luminance 0.153; OKLCH L 52.4% C 0.110 H 142.8°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#407A3D
RGBrgb(64, 122, 61)
HSLhsl(117, 33%, 36%)
HSVhsv(117, 50%, 48%)
CMYKcmyk(47.5%, 0%, 50%, 52.2%)
CIE-LABlab(46.10, -32.31, 27.52)
CIE-LCHlch(46.10, 42.44, 139.58°)
OKLaboklab(52.43% -0.088 0.0667)
OKLCHoklch(52.43% 0.11 142.8)
XYZxyz(9.9157, 15.3453, 6.8534)
Luminance0.1535 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407A3D #773D7A
analogous
#5E7A3D #407A3D #3D7A58
triadic
#407A3D #3D407A #7A3D40
tetradic
#407A3D #3D5E7A #773D7A #7A583D
square
#407A3D #3D5E7A #773D7A #7A583D
split-complementary
#407A3D #583D7A #7A3D5E
monochromatic
#152814 #2B5129 #407A3D #55A351 #7ABB77

Accessibility & contrast

On white

5.16
#407A3D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#407A3D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407A3D
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407A3D#FFFFFF#000000##FFFFFF
##407A3D1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7038
Deuteranopia (green-blind)
#746B41
Tritanopia (blue-blind)
#39776C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #407a3d;
/* rgb */ color: rgb(64, 122, 61);
/* oklch */ color: oklch(52.4% 0.110 142.8);
Tailwind
colors: {
  custom: {
    50: '#79a174',
    500: '#407a3d',
    950: '#000000',
  },
}
SCSS
$custom: #407a3d;
$custom-light: #79a174;
$custom-dark: #000000;
JSON
{
  "hex": "#407a3d",
  "rgb": {
    "r": 64,
    "g": 122,
    "b": 61
  },
  "hsl": {
    "h": 117.049,
    "s": 33.333,
    "l": 35.882
  },
  "oklch": {
    "l": 0.52434,
    "c": 0.11044,
    "h": 142.8
  },
  "luminance": 0.15346
}

Semantic roles & 50–950 ramp

primary
#407A3D
secondary
#A26EA5
accent
#5EC9C4
background
#F7F9F7
surface
#EEF2ED
border
#C9CCC8
text
#090F08
muted
#7B7E7B

Preview Lab

Preview with #407A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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