#407E32#407E32

#407E32 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.4% C 0.127 H 140.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#407E32
RGBrgb(64, 126, 50)
HSLhsl(109, 43%, 35%)
HSVhsv(109, 60%, 49%)
CMYKcmyk(49.2%, 0%, 60.3%, 50.6%)
CIE-LABlab(47.29, -35.58, 34.67)
CIE-LCHlch(47.29, 49.68, 135.74°)
OKLaboklab(53.36% -0.0975 0.0816)
OKLCHoklch(53.36% 0.127 140.1)
XYZxyz(10.1505, 16.2413, 5.6170)
Luminance0.1624 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407E32 #70327E
analogous
#667E32 #407E32 #327E4A
triadic
#407E32 #32407E #7E3240
tetradic
#407E32 #32667E #70327E #7E4A32
square
#407E32 #32667E #70327E #7E4A32
split-complementary
#407E32 #4A327E #7E3266
monochromatic
#13260F #2A5221 #407E32 #56AA43 #78C368

Accessibility & contrast

On white

4.94
#407E32 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#407E32 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407E32
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407E32#FFFFFF#000000##FFFFFF
##407E321.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81742A
Deuteranopia (green-blind)
#796E38
Tritanopia (blue-blind)
#3A7A6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #407e32;
/* rgb */ color: rgb(64, 126, 50);
/* oklch */ color: oklch(53.4% 0.127 140.1);
Tailwind
colors: {
  custom: {
    50: '#7aa46d',
    500: '#407e32',
    950: '#000000',
  },
}
SCSS
$custom: #407e32;
$custom-light: #7aa46d;
$custom-dark: #000000;
JSON
{
  "hex": "#407e32",
  "rgb": {
    "r": 64,
    "g": 126,
    "b": 50
  },
  "hsl": {
    "h": 108.947,
    "s": 43.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.5336,
    "c": 0.12714,
    "h": 140.1
  },
  "luminance": 0.16242
}

Semantic roles & 50–950 ramp

primary
#407E32
secondary
#9D61AB
accent
#55D3BC
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #407E32

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

Preview Lab → · Contrast checker → · Palette generator →

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