#407A37#407A37

#407A37 is a mid, moderate green. Relative luminance 0.153; OKLCH L 52.3% C 0.117 H 141.1°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#407A37
RGBrgb(64, 122, 55)
HSLhsl(112, 38%, 35%)
HSVhsv(112, 55%, 48%)
CMYKcmyk(47.5%, 0%, 54.9%, 52.2%)
CIE-LABlab(46.02, -33.17, 30.62)
CIE-LCHlch(46.02, 45.14, 137.29°)
OKLaboklab(52.34% -0.0906 0.0732)
OKLCHoklch(52.34% 0.117 141.1)
XYZxyz(9.7631, 15.2842, 6.0494)
Luminance0.1529 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407A37 #71377A
analogous
#627A37 #407A37 #377A4F
triadic
#407A37 #37407A #7A3740
tetradic
#407A37 #37627A #71377A #7A4F37
square
#407A37 #37627A #71377A #7A4F37
split-complementary
#407A37 #4F377A #7A3762
monochromatic
#142611 #2A5024 #407A37 #56A44A #79BE6E

Accessibility & contrast

On white

5.18
#407A37 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#407A37 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407A37
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407A37#FFFFFF#000000##FFFFFF
##407A371.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7031
Deuteranopia (green-blind)
#756B3C
Tritanopia (blue-blind)
#3A766B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #407a37;
/* rgb */ color: rgb(64, 122, 55);
/* oklch */ color: oklch(52.3% 0.117 141.1);
Tailwind
colors: {
  custom: {
    50: '#79a170',
    500: '#407a37',
    950: '#000000',
  },
}
SCSS
$custom: #407a37;
$custom-light: #79a170;
$custom-dark: #000000;
JSON
{
  "hex": "#407a37",
  "rgb": {
    "r": 64,
    "g": 122,
    "b": 55
  },
  "hsl": {
    "h": 111.94,
    "s": 37.853,
    "l": 34.706
  },
  "oklch": {
    "l": 0.5234,
    "c": 0.11651,
    "h": 141.1
  },
  "luminance": 0.15285
}

Semantic roles & 50–950 ramp

primary
#407A37
secondary
#9E66A6
accent
#5ACEBE
background
#F7F9F6
surface
#EEF2EC
border
#C9CCC7
text
#090F07
muted
#7B7E7A

Preview Lab

Preview with #407A37

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

Preview Lab → · Contrast checker → · Palette generator →

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