#407751#407751

#407751 is a mid, moderate green. Relative luminance 0.149; OKLCH L 52.0% C 0.084 H 152.5°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#407751
RGBrgb(64, 119, 81)
HSLhsl(139, 30%, 36%)
HSVhsv(139, 46%, 47%)
CMYKcmyk(46.2%, 0%, 31.9%, 53.3%)
CIE-LABlab(45.47, -27.36, 15.39)
CIE-LCHlch(45.47, 31.39, 150.65°)
OKLaboklab(52.03% -0.0747 0.0389)
OKLCHoklch(52.03% 0.084 152.5)
XYZxyz(10.1957, 14.8770, 10.1173)
Luminance0.1488 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407751 #774066
analogous
#4A7740 #407751 #40776C
triadic
#407751 #514077 #775140
tetradic
#407751 #404A77 #774066 #776C40
square
#407751 #404A77 #774066 #776C40
split-complementary
#407751 #6C4077 #77404A
monochromatic
#15271B #2B4F36 #407751 #559F6C #7AB78D

Accessibility & contrast

On white

5.28
#407751 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#407751 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407751
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407751#FFFFFF#000000##FFFFFF
##4077511.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776F4F
Deuteranopia (green-blind)
#6F6953
Tritanopia (blue-blind)
#35766D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #407751;
/* rgb */ color: rgb(64, 119, 81);
/* oklch */ color: oklch(52.0% 0.084 152.5);
Tailwind
colors: {
  custom: {
    50: '#789e82',
    500: '#407751',
    950: '#000000',
  },
}
SCSS
$custom: #407751;
$custom-light: #789e82;
$custom-dark: #000000;
JSON
{
  "hex": "#407751",
  "rgb": {
    "r": 64,
    "g": 119,
    "b": 81
  },
  "hsl": {
    "h": 138.545,
    "s": 30.055,
    "l": 35.882
  },
  "oklch": {
    "l": 0.52029,
    "c": 0.08424,
    "h": 152.5
  },
  "luminance": 0.14878
}

Semantic roles & 50–950 ramp

primary
#407751
secondary
#A27193
accent
#62A7C6
background
#F7F9F7
surface
#EDF2EE
border
#C8CCC9
text
#090E0A
muted
#7B7E7C

Preview Lab

Preview with #407751

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

Preview Lab → · Contrast checker → · Palette generator →

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