#5FA173#5FA173

#5FA173 is a light, moderate green. Relative luminance 0.292; OKLCH L 65.2% C 0.097 H 152.7°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#5FA173
RGBrgb(95, 161, 115)
HSLhsl(138, 26%, 50%)
HSVhsv(138, 41%, 63%)
CMYKcmyk(41%, 0%, 28.6%, 36.9%)
CIE-LABlab(60.92, -31.43, 17.51)
CIE-LCHlch(60.92, 35.98, 150.88°)
OKLaboklab(65.21% -0.086 0.0445)
OKLCHoklch(65.21% 0.097 152.7)
XYZxyz(20.5574, 29.1591, 20.7614)
Luminance0.2916 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA173 #A15F8D
analogous
#6CA15F #5FA173 #5FA194
triadic
#5FA173 #735FA1 #A1735F
tetradic
#5FA173 #5F6CA1 #A15F8D #A1945F
square
#5FA173 #5F6CA1 #A15F8D #A1945F
split-complementary
#5FA173 #945FA1 #A15F6C
monochromatic
#31543C #487B57 #5FA173 #86B895 #ACCEB6

Accessibility & contrast

On white

3.07
#5FA173 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#5FA173 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA173
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA173#FFFFFF#000000##000000
##5FA1731.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19770
Deuteranopia (green-blind)
#979076
Tritanopia (blue-blind)
#539F95
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5fa173;
/* rgb */ color: rgb(95, 161, 115);
/* oklch */ color: oklch(65.2% 0.097 152.7);
Tailwind
colors: {
  custom: {
    50: '#8fbd9b',
    500: '#5fa173',
    950: '#000000',
  },
}
SCSS
$custom: #5fa173;
$custom-light: #8fbd9b;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa173",
  "rgb": {
    "r": 95,
    "g": 161,
    "b": 115
  },
  "hsl": {
    "h": 138.182,
    "s": 25.984,
    "l": 50.196
  },
  "oklch": {
    "l": 0.65205,
    "c": 0.09683,
    "h": 152.7
  },
  "luminance": 0.2916
}

Semantic roles & 50–950 ramp

primary
#5FA173
secondary
#BD9FB4
accent
#65A6C2
background
#F9FBF9
surface
#F1F6F2
border
#CBD0CC
text
#0D120E
muted
#7E817E

Preview Lab

Preview with #5FA173

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

Preview Lab → · Contrast checker → · Palette generator →

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