#407237#407237

#407237 is a mid, moderate green. Relative luminance 0.134; OKLCH L 50.2% C 0.104 H 140.7°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#407237
RGBrgb(64, 114, 55)
HSLhsl(111, 35%, 33%)
HSVhsv(111, 52%, 45%)
CMYKcmyk(43.9%, 0%, 51.8%, 55.3%)
CIE-LABlab(43.36, -29.49, 27.37)
CIE-LCHlch(43.36, 40.23, 137.13°)
OKLaboklab(50.17% -0.0806 0.066)
OKLCHoklch(50.17% 0.104 140.7)
XYZxyz(8.8209, 13.3999, 5.7353)
Luminance0.1340 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407237 #693772
analogous
#5D7237 #407237 #37724B
triadic
#407237 #374072 #723740
tetradic
#407237 #375D72 #693772 #724B37
square
#407237 #375D72 #693772 #724B37
split-complementary
#407237 #4B3772 #72375D
monochromatic
#121F0F #294923 #407237 #579B4B #77B86C

Accessibility & contrast

On white

5.71
#407237 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#407237 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407237
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407237#FFFFFF#000000##FFFFFF
##4072371.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756932
Deuteranopia (green-blind)
#6E653B
Tritanopia (blue-blind)
#3C6F64
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #407237;
/* rgb */ color: rgb(64, 114, 55);
/* oklch */ color: oklch(50.2% 0.104 140.7);
Tailwind
colors: {
  custom: {
    50: '#789b6f',
    500: '#407237',
    950: '#000000',
  },
}
SCSS
$custom: #407237;
$custom-light: #789b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#407237",
  "rgb": {
    "r": 64,
    "g": 114,
    "b": 55
  },
  "hsl": {
    "h": 110.847,
    "s": 34.911,
    "l": 33.137
  },
  "oklch": {
    "l": 0.50165,
    "c": 0.10419,
    "h": 140.7
  },
  "luminance": 0.134
}

Semantic roles & 50–950 ramp

primary
#407237
secondary
#9864A1
accent
#5DCBBA
background
#F7F9F6
surface
#EDF2EC
border
#C8CCC7
text
#090E07
muted
#7B7E7A

Preview Lab

Preview with #407237

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

Preview Lab → · Contrast checker → · Palette generator →

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