#407C32#407C32

#407C32 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.8% C 0.124 H 139.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#407C32
RGBrgb(64, 124, 50)
HSLhsl(109, 43%, 34%)
HSVhsv(109, 60%, 49%)
CMYKcmyk(48.4%, 0%, 59.7%, 51.4%)
CIE-LABlab(46.62, -34.70, 33.90)
CIE-LCHlch(46.62, 48.51, 135.67°)
OKLaboklab(52.82% -0.0951 0.08)
OKLCHoklch(52.82% 0.124 139.9)
XYZxyz(9.8973, 15.7349, 5.5326)
Luminance0.1574 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407C32 #6E327C
analogous
#657C32 #407C32 #327C49
triadic
#407C32 #32407C #7C3240
tetradic
#407C32 #32657C #6E327C #7C4932
square
#407C32 #32657C #6E327C #7C4932
split-complementary
#407C32 #49327C #7C3265
monochromatic
#13250F #295020 #407C32 #57A844 #78C267

Accessibility & contrast

On white

5.06
#407C32 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#407C32 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407C32
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407C32#FFFFFF#000000##FFFFFF
##407C321.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F722B
Deuteranopia (green-blind)
#776C38
Tritanopia (blue-blind)
#3B786C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #407c32;
/* rgb */ color: rgb(64, 124, 50);
/* oklch */ color: oklch(52.8% 0.124 139.9);
Tailwind
colors: {
  custom: {
    50: '#7aa26c',
    500: '#407c32',
    950: '#000000',
  },
}
SCSS
$custom: #407c32;
$custom-light: #7aa26c;
$custom-dark: #000000;
JSON
{
  "hex": "#407c32",
  "rgb": {
    "r": 64,
    "g": 124,
    "b": 50
  },
  "hsl": {
    "h": 108.649,
    "s": 42.529,
    "l": 34.118
  },
  "oklch": {
    "l": 0.52815,
    "c": 0.12424,
    "h": 139.9
  },
  "luminance": 0.15736
}

Semantic roles & 50–950 ramp

primary
#407C32
secondary
#9B61A9
accent
#55D2BB
background
#F7FAF6
surface
#EEF3EB
border
#C9CDC6
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #407C32

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

Preview Lab → · Contrast checker → · Palette generator →

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