#407941#407941

#407941 is a mid, moderate green. Relative luminance 0.151; OKLCH L 52.2% C 0.105 H 144.2°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#407941
RGBrgb(64, 121, 65)
HSLhsl(121, 31%, 36%)
HSVhsv(121, 47%, 47%)
CMYKcmyk(47.1%, 0%, 46.3%, 52.5%)
CIE-LABlab(45.83, -31.23, 24.99)
CIE-LCHlch(45.83, 39.99, 141.34°)
OKLaboklab(52.23% -0.085 0.0612)
OKLCHoklch(52.23% 0.105 144.2)
XYZxyz(9.9054, 15.1457, 7.4015)
Luminance0.1515 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407941 #794078
analogous
#5C7940 #407941 #40795E
triadic
#407941 #414079 #794140
tetradic
#407941 #405C79 #794078 #795E40
square
#407941 #405C79 #794078 #795E40
split-complementary
#407941 #5E4079 #79405C
monochromatic
#162916 #2B512B #407941 #55A157 #7AB97C

Accessibility & contrast

On white

5.21
#407941 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#407941 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407941
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407941#FFFFFF#000000##FFFFFF
##4079411.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B703D
Deuteranopia (green-blind)
#736A45
Tritanopia (blue-blind)
#39766C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #407941;
/* rgb */ color: rgb(64, 121, 65);
/* oklch */ color: oklch(52.2% 0.105 144.2);
Tailwind
colors: {
  custom: {
    50: '#79a076',
    500: '#407941',
    950: '#000000',
  },
}
SCSS
$custom: #407941;
$custom-light: #79a076;
$custom-dark: #000000;
JSON
{
  "hex": "#407941",
  "rgb": {
    "r": 64,
    "g": 121,
    "b": 65
  },
  "hsl": {
    "h": 121.053,
    "s": 30.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.52233,
    "c": 0.10469,
    "h": 144.2
  },
  "luminance": 0.15146
}

Semantic roles & 50–950 ramp

primary
#407941
secondary
#A471A3
accent
#61C5C7
background
#F7F9F7
surface
#EEF2ED
border
#C9CCC8
text
#090F08
muted
#7B7E7B

Preview Lab

Preview with #407941

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

Preview Lab → · Contrast checker → · Palette generator →

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