#5FB158#5FB158

#5FB158 is a light, vivid green. Relative luminance 0.346; OKLCH L 68.7% C 0.148 H 142.2°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#5FB158
RGBrgb(95, 177, 88)
HSLhsl(115, 36%, 52%)
HSVhsv(115, 50%, 69%)
CMYKcmyk(46.3%, 0%, 50.3%, 30.6%)
CIE-LABlab(65.42, -43.02, 37.70)
CIE-LCHlch(65.42, 57.20, 138.77°)
OKLaboklab(68.73% -0.1173 0.0909)
OKLCHoklch(68.73% 0.148 142.2)
XYZxyz(22.2019, 34.5802, 14.7354)
Luminance0.3458 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FB158 #AA58B1
analogous
#8CB158 #5FB158 #58B17E
triadic
#5FB158 #585FB1 #B1585F
tetradic
#5FB158 #588CB1 #AA58B1 #B17E58
square
#5FB158 #588CB1 #AA58B1 #B17E58
split-complementary
#5FB158 #7E58B1 #B1588C
monochromatic
#31612D #478B41 #5FB158 #87C482 #AFD8AB

Accessibility & contrast

On white

2.65
#5FB158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#5FB158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FB158
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FB158#FFFFFF#000000##000000
##5FB1581.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A350
Deuteranopia (green-blind)
#A99C5E
Tritanopia (blue-blind)
#56AC9C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5fb158;
/* rgb */ color: rgb(95, 177, 88);
/* oklch */ color: oklch(68.7% 0.148 142.2);
Tailwind
colors: {
  custom: {
    50: '#92c989',
    500: '#5fb158',
    950: '#000000',
  },
}
SCSS
$custom: #5fb158;
$custom-light: #92c989;
$custom-dark: #000000;
JSON
{
  "hex": "#5fb158",
  "rgb": {
    "r": 95,
    "g": 177,
    "b": 88
  },
  "hsl": {
    "h": 115.281,
    "s": 36.327,
    "l": 51.961
  },
  "oklch": {
    "l": 0.68725,
    "c": 0.1484,
    "h": 142.2
  },
  "luminance": 0.34582
}

Semantic roles & 50–950 ramp

primary
#5FB158
secondary
#C39FC6
accent
#5BCCC3
background
#F9FCF8
surface
#F2F8F0
border
#CCD1CB
text
#0D130C
muted
#7E827D

Preview Lab

Preview with #5FB158

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

Preview Lab → · Contrast checker → · Palette generator →

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