#407B3D#407B3D

#407B3D is a mid, moderate green. Relative luminance 0.156; OKLCH L 52.7% C 0.112 H 142.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#407B3D
RGBrgb(64, 123, 61)
HSLhsl(117, 34%, 36%)
HSVhsv(117, 50%, 48%)
CMYKcmyk(48%, 0%, 50.4%, 51.8%)
CIE-LABlab(46.43, -32.77, 27.93)
CIE-LCHlch(46.43, 43.05, 139.56°)
OKLaboklab(52.71% -0.0892 0.0676)
OKLCHoklch(52.71% 0.112 142.8)
XYZxyz(10.0391, 15.5921, 6.8946)
Luminance0.1559 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407B3D #783D7B
analogous
#5F7B3D #407B3D #3D7B59
triadic
#407B3D #3D407B #7B3D40
tetradic
#407B3D #3D5F7B #783D7B #7B593D
square
#407B3D #3D5F7B #783D7B #7B593D
split-complementary
#407B3D #593D7B #7B3D5F
monochromatic
#152914 #2B5229 #407B3D #55A451 #7ABC77

Accessibility & contrast

On white

5.10
#407B3D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#407B3D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407B3D
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407B3D#FFFFFF#000000##FFFFFF
##407B3D1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7138
Deuteranopia (green-blind)
#756C41
Tritanopia (blue-blind)
#39786C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #407b3d;
/* rgb */ color: rgb(64, 123, 61);
/* oklch */ color: oklch(52.7% 0.112 142.8);
Tailwind
colors: {
  custom: {
    50: '#79a274',
    500: '#407b3d',
    950: '#000000',
  },
}
SCSS
$custom: #407b3d;
$custom-light: #79a274;
$custom-dark: #000000;
JSON
{
  "hex": "#407b3d",
  "rgb": {
    "r": 64,
    "g": 123,
    "b": 61
  },
  "hsl": {
    "h": 117.097,
    "s": 33.696,
    "l": 36.078
  },
  "oklch": {
    "l": 0.52705,
    "c": 0.11199,
    "h": 142.8
  },
  "luminance": 0.15593
}

Semantic roles & 50–950 ramp

primary
#407B3D
secondary
#A36EA6
accent
#5ECAC5
background
#F7FAF7
surface
#EEF3ED
border
#C9CDC8
text
#090F08
muted
#7B7F7B

Preview Lab

Preview with #407B3D

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

Preview Lab → · Contrast checker → · Palette generator →

#407B3D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva