#407641#407641

#407641 is a mid, moderate green. Relative luminance 0.144; OKLCH L 51.4% C 0.100 H 144.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#407641
RGBrgb(64, 118, 65)
HSLhsl(121, 30%, 36%)
HSVhsv(121, 46%, 46%)
CMYKcmyk(45.8%, 0%, 44.9%, 53.7%)
CIE-LABlab(44.84, -29.82, 23.72)
CIE-LCHlch(44.84, 38.10, 141.51°)
OKLaboklab(51.42% -0.0812 0.0583)
OKLCHoklch(51.42% 0.1 144.3)
XYZxyz(9.5464, 14.4279, 7.2818)
Luminance0.1443 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407641 #764075
analogous
#5A7640 #407641 #40765C
triadic
#407641 #414076 #764140
tetradic
#407641 #405A76 #764075 #765C40
square
#407641 #405A76 #764075 #765C40
split-complementary
#407641 #5C4076 #76405A
monochromatic
#152715 #2A4E2B #407641 #569E57 #7AB77B

Accessibility & contrast

On white

5.40
#407641 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#407641 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407641
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407641#FFFFFF#000000##FFFFFF
##4076411.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786D3D
Deuteranopia (green-blind)
#706844
Tritanopia (blue-blind)
#397369
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #407641;
/* rgb */ color: rgb(64, 118, 65);
/* oklch */ color: oklch(51.4% 0.100 144.3);
Tailwind
colors: {
  custom: {
    50: '#789e76',
    500: '#407641',
    950: '#000000',
  },
}
SCSS
$custom: #407641;
$custom-light: #789e76;
$custom-dark: #000000;
JSON
{
  "hex": "#407641",
  "rgb": {
    "r": 64,
    "g": 118,
    "b": 65
  },
  "hsl": {
    "h": 121.111,
    "s": 29.67,
    "l": 35.686
  },
  "oklch": {
    "l": 0.51423,
    "c": 0.09991,
    "h": 144.3
  },
  "luminance": 0.14429
}

Semantic roles & 50–950 ramp

primary
#407641
secondary
#A170A1
accent
#62C4C6
background
#F7F9F7
surface
#EDF2ED
border
#C8CCC8
text
#090E08
muted
#7B7E7B

Preview Lab

Preview with #407641

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

Preview Lab → · Contrast checker → · Palette generator →

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