#407D54#407D54

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

Color values

HEX#407D54
RGBrgb(64, 125, 84)
HSLhsl(140, 32%, 37%)
HSVhsv(140, 49%, 49%)
CMYKcmyk(48.8%, 0%, 32.8%, 51%)
CIE-LABlab(47.49, -29.65, 16.41)
CIE-LCHlch(47.49, 33.89, 151.04°)
OKLaboklab(53.7% -0.0809 0.0414)
OKLCHoklch(53.7% 0.091 152.9)
XYZxyz(11.0474, 16.3965, 10.9685)
Luminance0.1640 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407D54 #7D4069
analogous
#4B7D40 #407D54 #407D73
triadic
#407D54 #54407D #7D5440
tetradic
#407D54 #404B7D #7D4069 #7D7340
square
#407D54 #404B7D #7D4069 #7D7340
split-complementary
#407D54 #73407D #7D404B
monochromatic
#172C1E #2B5539 #407D54 #55A56F #7CBC91

Accessibility & contrast

On white

4.91
#407D54 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#407D54 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407D54
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407D54#FFFFFF#000000##FFFFFF
##407D541.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7451
Deuteranopia (green-blind)
#746E56
Tritanopia (blue-blind)
#337C72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #407d54;
/* rgb */ color: rgb(64, 125, 84);
/* oklch */ color: oklch(53.7% 0.091 152.9);
Tailwind
colors: {
  custom: {
    50: '#79a384',
    500: '#407d54',
    950: '#000000',
  },
}
SCSS
$custom: #407d54;
$custom-light: #79a384;
$custom-dark: #000000;
JSON
{
  "hex": "#407d54",
  "rgb": {
    "r": 64,
    "g": 125,
    "b": 84
  },
  "hsl": {
    "h": 139.672,
    "s": 32.275,
    "l": 37.059
  },
  "oklch": {
    "l": 0.53697,
    "c": 0.09086,
    "h": 152.9
  },
  "luminance": 0.16397
}

Semantic roles & 50–950 ramp

primary
#407D54
secondary
#A67395
accent
#5FA6C8
background
#F7FAF8
surface
#EEF4EF
border
#C9CECA
text
#090F0B
muted
#7B7F7C

Preview Lab

Preview with #407D54

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

Preview Lab → · Contrast checker → · Palette generator →

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