#407A41#407A41

#407A41 is a mid, moderate green. Relative luminance 0.154; OKLCH L 52.5% C 0.106 H 144.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#407A41
RGBrgb(64, 122, 65)
HSLhsl(121, 31%, 36%)
HSVhsv(121, 48%, 48%)
CMYKcmyk(47.5%, 0%, 46.7%, 52.2%)
CIE-LABlab(46.16, -31.69, 25.41)
CIE-LCHlch(46.16, 40.62, 141.28°)
OKLaboklab(52.5% -0.0862 0.0621)
OKLCHoklch(52.5% 0.106 144.2)
XYZxyz(10.0275, 15.3900, 7.4422)
Luminance0.1539 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407A41 #7A4079
analogous
#5C7A40 #407A41 #407A5E
triadic
#407A41 #41407A #7A4140
tetradic
#407A41 #405C7A #7A4079 #7A5E40
square
#407A41 #405C7A #7A4079 #7A5E40
split-complementary
#407A41 #5E407A #7A405C
monochromatic
#162A16 #2B522C #407A41 #55A256 #7BBA7C

Accessibility & contrast

On white

5.15
#407A41 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#407A41 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407A41
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407A41#FFFFFF#000000##FFFFFF
##407A411.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C713D
Deuteranopia (green-blind)
#746B45
Tritanopia (blue-blind)
#38776C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #407a41;
/* rgb */ color: rgb(64, 122, 65);
/* oklch */ color: oklch(52.5% 0.106 144.2);
Tailwind
colors: {
  custom: {
    50: '#79a176',
    500: '#407a41',
    950: '#000000',
  },
}
SCSS
$custom: #407a41;
$custom-light: #79a176;
$custom-dark: #000000;
JSON
{
  "hex": "#407a41",
  "rgb": {
    "r": 64,
    "g": 122,
    "b": 65
  },
  "hsl": {
    "h": 121.034,
    "s": 31.183,
    "l": 36.471
  },
  "oklch": {
    "l": 0.52503,
    "c": 0.10627,
    "h": 144.2
  },
  "luminance": 0.15391
}

Semantic roles & 50–950 ramp

primary
#407A41
secondary
#A472A3
accent
#60C6C7
background
#F7F9F7
surface
#EEF2ED
border
#C9CCC8
text
#090F08
muted
#7B7E7B

Preview Lab

Preview with #407A41

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

Preview Lab → · Contrast checker → · Palette generator →

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