#407151#407151

#407151 is a mid, moderate green. Relative luminance 0.135; OKLCH L 50.4% C 0.074 H 154.2°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#407151
RGBrgb(64, 113, 81)
HSLhsl(141, 28%, 35%)
HSVhsv(141, 43%, 44%)
CMYKcmyk(43.4%, 0%, 28.3%, 55.7%)
CIE-LABlab(43.50, -24.38, 12.69)
CIE-LCHlch(43.50, 27.49, 152.51°)
OKLaboklab(50.43% -0.0668 0.0323)
OKLCHoklch(50.43% 0.074 154.2)
XYZxyz(9.5041, 13.4937, 9.8867)
Luminance0.1349 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407151 #714060
analogous
#487140 #407151 #40716A
triadic
#407151 #514071 #715140
tetradic
#407151 #404871 #714060 #716A40
square
#407151 #404871 #714060 #716A40
split-complementary
#407151 #6A4071 #714048
monochromatic
#142319 #2A4A35 #407151 #56986D #79B38D

Accessibility & contrast

On white

5.68
#407151 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#407151 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407151
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407151#FFFFFF#000000##FFFFFF
##4071511.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716A4F
Deuteranopia (green-blind)
#696553
Tritanopia (blue-blind)
#367068
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #407151;
/* rgb */ color: rgb(64, 113, 81);
/* oklch */ color: oklch(50.4% 0.074 154.2);
Tailwind
colors: {
  custom: {
    50: '#779a82',
    500: '#407151',
    950: '#000000',
  },
}
SCSS
$custom: #407151;
$custom-light: #779a82;
$custom-dark: #000000;
JSON
{
  "hex": "#407151",
  "rgb": {
    "r": 64,
    "g": 113,
    "b": 81
  },
  "hsl": {
    "h": 140.816,
    "s": 27.684,
    "l": 34.706
  },
  "oklch": {
    "l": 0.50431,
    "c": 0.07424,
    "h": 154.2
  },
  "luminance": 0.13494
}

Semantic roles & 50–950 ramp

primary
#407151
secondary
#9E6F8E
accent
#64A3C4
background
#F7F9F7
surface
#EDF2EE
border
#C8CCC9
text
#090E0A
muted
#7B7E7C

Preview Lab

Preview with #407151

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

Preview Lab → · Contrast checker → · Palette generator →

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