#407232#407232

#407232 is a mid, moderate green. Relative luminance 0.134; OKLCH L 50.1% C 0.109 H 139.2°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#407232
RGBrgb(64, 114, 50)
HSLhsl(107, 39%, 32%)
HSVhsv(107, 56%, 45%)
CMYKcmyk(43.9%, 0%, 56.1%, 55.3%)
CIE-LABlab(43.29, -30.17, 29.97)
CIE-LCHlch(43.29, 42.53, 135.20°)
OKLaboklab(50.09% -0.0827 0.0714)
OKLCHoklch(50.09% 0.109 139.2)
XYZxyz(8.7071, 13.3544, 5.1359)
Luminance0.1336 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407232 #643272
analogous
#607232 #407232 #327244
triadic
#407232 #324072 #723240
tetradic
#407232 #326072 #643272 #724432
square
#407232 #326072 #643272 #724432
split-complementary
#407232 #443272 #723260
monochromatic
#101D0D #28471F #407232 #589D45 #77BB64

Accessibility & contrast

On white

5.72
#407232 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#407232 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407232
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407232#FFFFFF#000000##FFFFFF
##4072321.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75692C
Deuteranopia (green-blind)
#6E6536
Tritanopia (blue-blind)
#3C6E64
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #407232;
/* rgb */ color: rgb(64, 114, 50);
/* oklch */ color: oklch(50.1% 0.109 139.2);
Tailwind
colors: {
  custom: {
    50: '#789b6c',
    500: '#407232',
    950: '#000000',
  },
}
SCSS
$custom: #407232;
$custom-light: #789b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#407232",
  "rgb": {
    "r": 64,
    "g": 114,
    "b": 50
  },
  "hsl": {
    "h": 106.875,
    "s": 39.024,
    "l": 32.157
  },
  "oklch": {
    "l": 0.50088,
    "c": 0.1093,
    "h": 139.2
  },
  "luminance": 0.13355
}

Semantic roles & 50–950 ramp

primary
#407232
secondary
#935DA3
accent
#59CFB5
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090E07
muted
#7B7E7A

Preview Lab

Preview with #407232

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

Preview Lab → · Contrast checker → · Palette generator →

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