#5FA771#5FA771

#5FA771 is a light, moderate green. Relative luminance 0.313; OKLCH L 66.7% C 0.108 H 150.6°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#5FA771
RGBrgb(95, 167, 113)
HSLhsl(135, 29%, 51%)
HSVhsv(135, 43%, 65%)
CMYKcmyk(43.1%, 0%, 32.3%, 34.5%)
CIE-LABlab(62.73, -34.61, 21.07)
CIE-LCHlch(62.73, 40.52, 148.67°)
OKLaboklab(66.66% -0.0944 0.0531)
OKLCHoklch(66.66% 0.108 150.6)
XYZxyz(21.5174, 31.2612, 20.5198)
Luminance0.3126 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA771 #A75F95
analogous
#71A75F #5FA771 #5FA795
triadic
#5FA771 #715FA7 #A7715F
tetradic
#5FA771 #5F71A7 #A75F95 #A7955F
square
#5FA771 #5F71A7 #A75F95 #A7955F
split-complementary
#5FA771 #955FA7 #A75F71
monochromatic
#325A3C #478256 #5FA771 #86BD94 #AED2B7

Accessibility & contrast

On white

2.90
#5FA771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#5FA771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA771
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA771#FFFFFF#000000##000000
##5FA7711.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89C6E
Deuteranopia (green-blind)
#9D9574
Tritanopia (blue-blind)
#52A599
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5fa771;
/* rgb */ color: rgb(95, 167, 113);
/* oklch */ color: oklch(66.7% 0.108 150.6);
Tailwind
colors: {
  custom: {
    50: '#90c19a',
    500: '#5fa771',
    950: '#000000',
  },
}
SCSS
$custom: #5fa771;
$custom-light: #90c19a;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa771",
  "rgb": {
    "r": 95,
    "g": 167,
    "b": 113
  },
  "hsl": {
    "h": 135,
    "s": 29.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.66658,
    "c": 0.10832,
    "h": 150.6
  },
  "luminance": 0.31263
}

Semantic roles & 50–950 ramp

primary
#5FA771
secondary
#C1A1B9
accent
#62ADC5
background
#F9FBF9
surface
#F1F7F2
border
#CBD0CC
text
#0D120E
muted
#7E817E

Preview Lab

Preview with #5FA771

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

Preview Lab → · Contrast checker → · Palette generator →

#5FA771 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva