#407752#407752

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

Color values

HEX#407752
RGBrgb(64, 119, 82)
HSLhsl(140, 30%, 36%)
HSVhsv(140, 46%, 47%)
CMYKcmyk(46.2%, 0%, 31.1%, 53.3%)
CIE-LABlab(45.49, -27.16, 14.83)
CIE-LCHlch(45.49, 30.95, 151.36°)
OKLaboklab(52.05% -0.0742 0.0376)
OKLCHoklch(52.05% 0.083 153.1)
XYZxyz(10.2335, 14.8921, 10.3162)
Luminance0.1489 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407752 #774065
analogous
#497740 #407752 #40776D
triadic
#407752 #524077 #775240
tetradic
#407752 #404977 #774065 #776D40
square
#407752 #404977 #774065 #776D40
split-complementary
#407752 #6D4077 #774049
monochromatic
#15271B #2B4F37 #407752 #559F6D #7AB78E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##407752#FFFFFF#000000##FFFFFF
##4077521.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)
#776F50
Deuteranopia (green-blind)
#6F6954
Tritanopia (blue-blind)
#35766D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #407752;
/* rgb */ color: rgb(64, 119, 82);
/* oklch */ color: oklch(52.1% 0.083 153.1);
Tailwind
colors: {
  custom: {
    50: '#789e82',
    500: '#407752',
    950: '#000000',
  },
}
SCSS
$custom: #407752;
$custom-light: #789e82;
$custom-dark: #000000;
JSON
{
  "hex": "#407752",
  "rgb": {
    "r": 64,
    "g": 119,
    "b": 82
  },
  "hsl": {
    "h": 139.636,
    "s": 30.055,
    "l": 35.882
  },
  "oklch": {
    "l": 0.52052,
    "c": 0.08319,
    "h": 153.1
  },
  "luminance": 0.14893
}

Semantic roles & 50–950 ramp

primary
#407752
secondary
#A27192
accent
#62A5C6
background
#F7F9F8
surface
#EDF2EF
border
#C8CCCA
text
#090E0A
muted
#7B7E7C

Preview Lab

Preview with #407752

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

Preview Lab → · Contrast checker → · Palette generator →

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