#407239#407239

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

Color values

HEX#407239
RGBrgb(64, 114, 57)
HSLhsl(113, 33%, 34%)
HSVhsv(113, 50%, 45%)
CMYKcmyk(43.9%, 0%, 50%, 55.3%)
CIE-LABlab(43.39, -29.19, 26.32)
CIE-LCHlch(43.39, 39.30, 137.97°)
OKLaboklab(50.2% -0.0797 0.0638)
OKLCHoklch(50.2% 0.102 141.3)
XYZxyz(8.8698, 13.4195, 5.9929)
Luminance0.1342 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407239 #6B3972
analogous
#5C7239 #407239 #39724E
triadic
#407239 #394072 #723940
tetradic
#407239 #395C72 #6B3972 #724E39
square
#407239 #395C72 #6B3972 #724E39
split-complementary
#407239 #4E3972 #72395C
monochromatic
#122010 #294925 #407239 #579B4D #77B76F

Accessibility & contrast

On white

5.70
#407239 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #407239
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407239#FFFFFF#000000##FFFFFF
##4072391.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756934
Deuteranopia (green-blind)
#6D653D
Tritanopia (blue-blind)
#3B6F65
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #407239;
/* rgb */ color: rgb(64, 114, 57);
/* oklch */ color: oklch(50.2% 0.102 141.3);
Tailwind
colors: {
  custom: {
    50: '#789b70',
    500: '#407239',
    950: '#000000',
  },
}
SCSS
$custom: #407239;
$custom-light: #789b70;
$custom-dark: #000000;
JSON
{
  "hex": "#407239",
  "rgb": {
    "r": 64,
    "g": 114,
    "b": 57
  },
  "hsl": {
    "h": 112.632,
    "s": 33.333,
    "l": 33.529
  },
  "oklch": {
    "l": 0.50198,
    "c": 0.10209,
    "h": 141.3
  },
  "luminance": 0.1342
}

Semantic roles & 50–950 ramp

primary
#407239
secondary
#9967A0
accent
#5EC9BC
background
#F7F9F6
surface
#EDF2EC
border
#C8CCC7
text
#090E07
muted
#7B7E7A

Preview Lab

Preview with #407239

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

Preview Lab → · Contrast checker → · Palette generator →

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