#407E45#407E45

#407E45 is a mid, moderate green. Relative luminance 0.164; OKLCH L 53.7% C 0.108 H 145.5°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#407E45
RGBrgb(64, 126, 69)
HSLhsl(125, 33%, 37%)
HSVhsv(125, 49%, 49%)
CMYKcmyk(49.2%, 0%, 45.2%, 50.6%)
CIE-LABlab(47.55, -32.87, 24.96)
CIE-LCHlch(47.55, 41.27, 142.78°)
OKLaboklab(53.65% -0.0893 0.0613)
OKLCHoklch(53.65% 0.108 145.5)
XYZxyz(10.6488, 16.4406, 8.2413)
Luminance0.1644 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407E45 #7E4079
analogous
#5A7E40 #407E45 #407E64
triadic
#407E45 #45407E #7E4540
tetradic
#407E45 #405A7E #7E4079 #7E6440
square
#407E45 #405A7E #7E4079 #7E6440
split-complementary
#407E45 #64407E #7E405A
monochromatic
#172D19 #2B552F #407E45 #55A75B #7CBC81

Accessibility & contrast

On white

4.90
#407E45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#407E45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407E45
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407E45#FFFFFF#000000##FFFFFF
##407E451.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807441
Deuteranopia (green-blind)
#776F49
Tritanopia (blue-blind)
#377B70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #407e45;
/* rgb */ color: rgb(64, 126, 69);
/* oklch */ color: oklch(53.7% 0.108 145.5);
Tailwind
colors: {
  custom: {
    50: '#79a479',
    500: '#407e45',
    950: '#000000',
  },
}
SCSS
$custom: #407e45;
$custom-light: #79a479;
$custom-dark: #000000;
JSON
{
  "hex": "#407e45",
  "rgb": {
    "r": 64,
    "g": 126,
    "b": 69
  },
  "hsl": {
    "h": 124.839,
    "s": 32.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.53655,
    "c": 0.10832,
    "h": 145.5
  },
  "luminance": 0.16441
}

Semantic roles & 50–950 ramp

primary
#407E45
secondary
#A773A3
accent
#5FC0C9
background
#F7FAF7
surface
#EEF4ED
border
#C9CEC8
text
#090F09
muted
#7B7F7B

Preview Lab

Preview with #407E45

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

Preview Lab → · Contrast checker → · Palette generator →

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