#407D48#407D48

#407D48 is a mid, moderate green. Relative luminance 0.162; OKLCH L 53.4% C 0.104 H 146.8°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#407D48
RGBrgb(64, 125, 72)
HSLhsl(128, 32%, 37%)
HSVhsv(128, 49%, 49%)
CMYKcmyk(48.8%, 0%, 42.4%, 51%)
CIE-LABlab(47.27, -31.90, 22.93)
CIE-LCHlch(47.27, 39.29, 144.29°)
OKLaboklab(53.44% -0.0867 0.0567)
OKLCHoklch(53.44% 0.104 146.8)
XYZxyz(10.6171, 16.2243, 8.7018)
Luminance0.1623 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407D48 #7D4075
analogous
#577D40 #407D48 #407D67
triadic
#407D48 #48407D #7D4840
tetradic
#407D48 #40577D #7D4075 #7D6740
square
#407D48 #40577D #7D4075 #7D6740
split-complementary
#407D48 #67407D #7D4057
monochromatic
#172C19 #2B5531 #407D48 #55A55F #7CBC84

Accessibility & contrast

On white

4.95
#407D48 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#407D48 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407D48
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407D48#FFFFFF#000000##FFFFFF
##407D481.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7444
Deuteranopia (green-blind)
#766E4B
Tritanopia (blue-blind)
#367B70
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #407d48;
/* rgb */ color: rgb(64, 125, 72);
/* oklch */ color: oklch(53.4% 0.104 146.8);
Tailwind
colors: {
  custom: {
    50: '#79a37b',
    500: '#407d48',
    950: '#000000',
  },
}
SCSS
$custom: #407d48;
$custom-light: #79a37b;
$custom-dark: #000000;
JSON
{
  "hex": "#407d48",
  "rgb": {
    "r": 64,
    "g": 125,
    "b": 72
  },
  "hsl": {
    "h": 127.869,
    "s": 32.275,
    "l": 37.059
  },
  "oklch": {
    "l": 0.53442,
    "c": 0.10357,
    "h": 146.8
  },
  "luminance": 0.16225
}

Semantic roles & 50–950 ramp

primary
#407D48
secondary
#A673A0
accent
#5FBBC8
background
#F7FAF7
surface
#EEF4EE
border
#C9CEC9
text
#090F09
muted
#7B7F7B

Preview Lab

Preview with #407D48

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

Preview Lab → · Contrast checker → · Palette generator →

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