#407F37#407F37

#407F37 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.7% C 0.124 H 141.3°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#407F37
RGBrgb(64, 127, 55)
HSLhsl(113, 40%, 36%)
HSVhsv(113, 57%, 50%)
CMYKcmyk(49.6%, 0%, 56.7%, 50.2%)
CIE-LABlab(47.68, -35.39, 32.60)
CIE-LCHlch(47.68, 48.12, 137.34°)
OKLaboklab(53.7% -0.0967 0.0776)
OKLCHoklch(53.7% 0.124 141.3)
XYZxyz(10.3929, 16.5438, 6.2593)
Luminance0.1655 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407F37 #76377F
analogous
#647F37 #407F37 #377F52
triadic
#407F37 #37407F #7F3740
tetradic
#407F37 #37647F #76377F #7F5237
square
#407F37 #37647F #76377F #7F5237
split-complementary
#407F37 #52377F #7F3764
monochromatic
#152A12 #2A5425 #407F37 #56AA49 #7AC170

Accessibility & contrast

On white

4.87
#407F37 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#407F37 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407F37
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407F37#FFFFFF#000000##FFFFFF
##407F371.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827530
Deuteranopia (green-blind)
#796F3C
Tritanopia (blue-blind)
#397B6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #407f37;
/* rgb */ color: rgb(64, 127, 55);
/* oklch */ color: oklch(53.7% 0.124 141.3);
Tailwind
colors: {
  custom: {
    50: '#7aa570',
    500: '#407f37',
    950: '#000000',
  },
}
SCSS
$custom: #407f37;
$custom-light: #7aa570;
$custom-dark: #000000;
JSON
{
  "hex": "#407f37",
  "rgb": {
    "r": 64,
    "g": 127,
    "b": 55
  },
  "hsl": {
    "h": 112.5,
    "s": 39.56,
    "l": 35.686
  },
  "oklch": {
    "l": 0.53699,
    "c": 0.12395,
    "h": 141.3
  },
  "luminance": 0.16545
}

Semantic roles & 50–950 ramp

primary
#407F37
secondary
#A168AA
accent
#58CFC1
background
#F7FAF6
surface
#EEF4EC
border
#C9CEC7
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #407F37

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

Preview Lab → · Contrast checker → · Palette generator →

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