#407032#407032

#407032 is a mid, moderate green. Relative luminance 0.129; OKLCH L 49.5% C 0.106 H 139.0°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#407032
RGBrgb(64, 112, 50)
HSLhsl(106, 38%, 32%)
HSVhsv(106, 55%, 44%)
CMYKcmyk(42.9%, 0%, 55.4%, 56.1%)
CIE-LABlab(42.62, -29.24, 29.16)
CIE-LCHlch(42.62, 41.30, 135.07°)
OKLaboklab(49.54% -0.0802 0.0697)
OKLCHoklch(49.54% 0.106 139)
XYZxyz(8.4839, 12.9081, 5.0615)
Luminance0.1291 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407032 #623270
analogous
#5F7032 #407032 #327043
triadic
#407032 #324070 #703240
tetradic
#407032 #325F70 #623270 #704332
square
#407032 #325F70 #623270 #704332
split-complementary
#407032 #433270 #70325F
monochromatic
#101B0C #28461F #407032 #589A45 #77B963

Accessibility & contrast

On white

5.86
#407032 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#407032 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407032
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407032#FFFFFF#000000##FFFFFF
##4070321.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73672C
Deuteranopia (green-blind)
#6C6336
Tritanopia (blue-blind)
#3D6D62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #407032;
/* rgb */ color: rgb(64, 112, 50);
/* oklch */ color: oklch(49.5% 0.106 139.0);
Tailwind
colors: {
  custom: {
    50: '#78996b',
    500: '#407032',
    950: '#000000',
  },
}
SCSS
$custom: #407032;
$custom-light: #78996b;
$custom-dark: #000000;
JSON
{
  "hex": "#407032",
  "rgb": {
    "r": 64,
    "g": 112,
    "b": 50
  },
  "hsl": {
    "h": 106.452,
    "s": 38.272,
    "l": 31.765
  },
  "oklch": {
    "l": 0.49543,
    "c": 0.10621,
    "h": 139
  },
  "luminance": 0.12909
}

Semantic roles & 50–950 ramp

primary
#407032
secondary
#925DA1
accent
#5ACEB4
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090E07
muted
#7B7E7A

Preview Lab

Preview with #407032

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

Preview Lab → · Contrast checker → · Palette generator →

#407032 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva