#407B32#407B32

#407B32 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.5% C 0.123 H 139.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#407B32
RGBrgb(64, 123, 50)
HSLhsl(108, 42%, 34%)
HSVhsv(108, 59%, 48%)
CMYKcmyk(48%, 0%, 59.3%, 51.8%)
CIE-LABlab(46.29, -34.26, 33.51)
CIE-LCHlch(46.29, 47.92, 135.64°)
OKLaboklab(52.54% -0.0939 0.0791)
OKLCHoklch(52.54% 0.123 139.9)
XYZxyz(9.7727, 15.4855, 5.4910)
Luminance0.1549 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407B32 #6D327B
analogous
#657B32 #407B32 #327B49
triadic
#407B32 #32407B #7B3240
tetradic
#407B32 #32657B #6D327B #7B4932
square
#407B32 #32657B #6D327B #7B4932
split-complementary
#407B32 #49327B #7B3265
monochromatic
#13240F #294F20 #407B32 #57A744 #78C166

Accessibility & contrast

On white

5.13
#407B32 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#407B32 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407B32
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407B32#FFFFFF#000000##FFFFFF
##407B321.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E712B
Deuteranopia (green-blind)
#766C37
Tritanopia (blue-blind)
#3B776B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #407b32;
/* rgb */ color: rgb(64, 123, 50);
/* oklch */ color: oklch(52.5% 0.123 139.9);
Tailwind
colors: {
  custom: {
    50: '#7aa26c',
    500: '#407b32',
    950: '#000000',
  },
}
SCSS
$custom: #407b32;
$custom-light: #7aa26c;
$custom-dark: #000000;
JSON
{
  "hex": "#407b32",
  "rgb": {
    "r": 64,
    "g": 123,
    "b": 50
  },
  "hsl": {
    "h": 108.493,
    "s": 42.197,
    "l": 33.922
  },
  "oklch": {
    "l": 0.52542,
    "c": 0.12278,
    "h": 139.9
  },
  "luminance": 0.15486
}

Semantic roles & 50–950 ramp

primary
#407B32
secondary
#9B60A9
accent
#56D2BA
background
#F7FAF6
surface
#EEF3EB
border
#C9CDC6
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #407B32

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

Preview Lab → · Contrast checker → · Palette generator →

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