#407D41#407D41

#407D41 is a mid, moderate green. Relative luminance 0.161; OKLCH L 53.3% C 0.111 H 144.1°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#407D41
RGBrgb(64, 125, 65)
HSLhsl(121, 32%, 37%)
HSVhsv(121, 49%, 49%)
CMYKcmyk(48.8%, 0%, 48%, 51%)
CIE-LABlab(47.16, -33.06, 26.66)
CIE-LCHlch(47.16, 42.47, 141.12°)
OKLaboklab(53.31% -0.0899 0.065)
OKLCHoklch(53.31% 0.111 144.1)
XYZxyz(10.4016, 16.1381, 7.5669)
Luminance0.1614 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407D41 #7D407C
analogous
#5E7D40 #407D41 #407D60
triadic
#407D41 #41407D #7D4140
tetradic
#407D41 #405E7D #7D407C #7D6040
square
#407D41 #405E7D #7D407C #7D6040
split-complementary
#407D41 #60407D #7D405E
monochromatic
#172C17 #2B552C #407D41 #55A556 #7CBC7D

Accessibility & contrast

On white

4.97
#407D41 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#407D41 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407D41
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407D41#FFFFFF#000000##FFFFFF
##407D411.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F733C
Deuteranopia (green-blind)
#776E45
Tritanopia (blue-blind)
#387A6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #407d41;
/* rgb */ color: rgb(64, 125, 65);
/* oklch */ color: oklch(53.3% 0.111 144.1);
Tailwind
colors: {
  custom: {
    50: '#79a377',
    500: '#407d41',
    950: '#000000',
  },
}
SCSS
$custom: #407d41;
$custom-light: #79a377;
$custom-dark: #000000;
JSON
{
  "hex": "#407d41",
  "rgb": {
    "r": 64,
    "g": 125,
    "b": 65
  },
  "hsl": {
    "h": 120.984,
    "s": 32.275,
    "l": 37.059
  },
  "oklch": {
    "l": 0.53314,
    "c": 0.11095,
    "h": 144.1
  },
  "luminance": 0.16139
}

Semantic roles & 50–950 ramp

primary
#407D41
secondary
#A673A5
accent
#5FC7C8
background
#F7FAF7
surface
#EEF4ED
border
#C9CEC8
text
#090F08
muted
#7B7F7B

Preview Lab

Preview with #407D41

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

Preview Lab → · Contrast checker → · Palette generator →

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