#5FA178#5FA178

#5FA178 is a light, moderate green. Relative luminance 0.293; OKLCH L 65.3% C 0.092 H 155.6°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#5FA178
RGBrgb(95, 161, 120)
HSLhsl(143, 26%, 50%)
HSVhsv(143, 41%, 63%)
CMYKcmyk(41%, 0%, 25.5%, 36.9%)
CIE-LABlab(61.03, -30.44, 14.88)
CIE-LCHlch(61.03, 33.89, 153.95°)
OKLaboklab(65.32% -0.0837 0.038)
OKLCHoklch(65.32% 0.092 155.6)
XYZxyz(20.8530, 29.2774, 22.3179)
Luminance0.2928 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA178 #A15F88
analogous
#67A15F #5FA178 #5FA199
triadic
#5FA178 #785FA1 #A1785F
tetradic
#5FA178 #5F67A1 #A15F88 #A1995F
square
#5FA178 #5F67A1 #A15F88 #A1995F
split-complementary
#5FA178 #995FA1 #A15F67
monochromatic
#31543F #487B5B #5FA178 #86B899 #ACCEB9

Accessibility & contrast

On white

3.06
#5FA178 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#5FA178 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA178
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA178#FFFFFF#000000##000000
##5FA1781.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19876
Deuteranopia (green-blind)
#96907A
Tritanopia (blue-blind)
#51A096
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5fa178;
/* rgb */ color: rgb(95, 161, 120);
/* oklch */ color: oklch(65.3% 0.092 155.6);
Tailwind
colors: {
  custom: {
    50: '#8fbd9f',
    500: '#5fa178',
    950: '#000000',
  },
}
SCSS
$custom: #5fa178;
$custom-light: #8fbd9f;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa178",
  "rgb": {
    "r": 95,
    "g": 161,
    "b": 120
  },
  "hsl": {
    "h": 142.727,
    "s": 25.984,
    "l": 50.196
  },
  "oklch": {
    "l": 0.65323,
    "c": 0.0919,
    "h": 155.6
  },
  "luminance": 0.29279
}

Semantic roles & 50–950 ramp

primary
#5FA178
secondary
#BD9FB1
accent
#659FC2
background
#F9FBF9
surface
#F1F6F2
border
#CBD0CC
text
#0D120E
muted
#7E817E

Preview Lab

Preview with #5FA178

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

Preview Lab → · Contrast checker → · Palette generator →

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