#407339#407339

#407339 is a mid, moderate green. Relative luminance 0.136; OKLCH L 50.5% C 0.104 H 141.4°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#407339
RGBrgb(64, 115, 57)
HSLhsl(113, 34%, 34%)
HSVhsv(113, 50%, 45%)
CMYKcmyk(44.3%, 0%, 50.4%, 54.9%)
CIE-LABlab(43.72, -29.66, 26.73)
CIE-LCHlch(43.72, 39.93, 137.98°)
OKLaboklab(50.47% -0.081 0.0647)
OKLCHoklch(50.47% 0.104 141.4)
XYZxyz(8.9832, 13.6463, 6.0308)
Luminance0.1365 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407339 #6C3973
analogous
#5D7339 #407339 #39734F
triadic
#407339 #394073 #733940
tetradic
#407339 #395D73 #6C3973 #734F39
square
#407339 #395D73 #6C3973 #734F39
split-complementary
#407339 #4F3973 #73395D
monochromatic
#122110 #294A25 #407339 #579C4D #78B86F

Accessibility & contrast

On white

5.63
#407339 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#407339 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407339
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407339#FFFFFF#000000##FFFFFF
##4073391.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766A34
Deuteranopia (green-blind)
#6E663D
Tritanopia (blue-blind)
#3B7065
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #407339;
/* rgb */ color: rgb(64, 115, 57);
/* oklch */ color: oklch(50.5% 0.104 141.4);
Tailwind
colors: {
  custom: {
    50: '#789c70',
    500: '#407339',
    950: '#000000',
  },
}
SCSS
$custom: #407339;
$custom-light: #789c70;
$custom-dark: #000000;
JSON
{
  "hex": "#407339",
  "rgb": {
    "r": 64,
    "g": 115,
    "b": 57
  },
  "hsl": {
    "h": 112.759,
    "s": 33.721,
    "l": 33.725
  },
  "oklch": {
    "l": 0.50469,
    "c": 0.10367,
    "h": 141.4
  },
  "luminance": 0.13647
}

Semantic roles & 50–950 ramp

primary
#407339
secondary
#9A67A1
accent
#5ECABD
background
#F7F9F6
surface
#EDF2EC
border
#C8CCC7
text
#090E07
muted
#7B7E7A

Preview Lab

Preview with #407339

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

Preview Lab → · Contrast checker → · Palette generator →

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