#5FA157#5FA157

#5FA157 is a light, vivid green. Relative luminance 0.286; OKLCH L 64.6% C 0.126 H 141.7°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#5FA157
RGBrgb(95, 161, 87)
HSLhsl(114, 30%, 49%)
HSVhsv(114, 46%, 63%)
CMYKcmyk(41%, 0%, 46%, 36.9%)
CIE-LABlab(60.44, -36.17, 31.99)
CIE-LCHlch(60.44, 48.29, 138.51°)
OKLaboklab(64.65% -0.0987 0.078)
OKLCHoklch(64.65% 0.126 141.7)
XYZxyz(19.1837, 28.6096, 13.5264)
Luminance0.2861 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA157 #9957A1
analogous
#84A157 #5FA157 #57A174
triadic
#5FA157 #575FA1 #A1575F
tetradic
#5FA157 #5784A1 #9957A1 #A17457
square
#5FA157 #5784A1 #9957A1 #A17457
split-complementary
#5FA157 #7457A1 #A15784
monochromatic
#30522C #487942 #5FA157 #83B97D #A9CEA4

Accessibility & contrast

On white

3.12
#5FA157 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#5FA157 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA157
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA157#FFFFFF#000000##000000
##5FA1571.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49651
Deuteranopia (green-blind)
#9B8F5C
Tritanopia (blue-blind)
#599D8F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5fa157;
/* rgb */ color: rgb(95, 161, 87);
/* oklch */ color: oklch(64.6% 0.126 141.7);
Tailwind
colors: {
  custom: {
    50: '#90bd87',
    500: '#5fa157',
    950: '#000000',
  },
}
SCSS
$custom: #5fa157;
$custom-light: #90bd87;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa157",
  "rgb": {
    "r": 95,
    "g": 161,
    "b": 87
  },
  "hsl": {
    "h": 113.514,
    "s": 29.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.6465,
    "c": 0.12581,
    "h": 141.7
  },
  "luminance": 0.28611
}

Semantic roles & 50–950 ramp

primary
#5FA157
secondary
#B898BC
accent
#62C6BB
background
#F9FBF8
surface
#F1F6F0
border
#CBD0CB
text
#0D120B
muted
#7E817C

Preview Lab

Preview with #5FA157

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

Preview Lab → · Contrast checker → · Palette generator →

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