#5B9978#5B9978

#5B9978 is a light, moderate green. Relative luminance 0.264; OKLCH L 63.1% C 0.082 H 159.6°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#5B9978
RGBrgb(91, 153, 120)
HSLhsl(148, 25%, 48%)
HSVhsv(148, 41%, 60%)
CMYKcmyk(40.5%, 0%, 21.6%, 40%)
CIE-LABlab(58.38, -27.76, 11.15)
CIE-LCHlch(58.38, 29.92, 158.12°)
OKLaboklab(63.13% -0.0769 0.0286)
OKLCHoklch(63.13% 0.082 159.6)
XYZxyz(19.0944, 26.3614, 21.8478)
Luminance0.2636 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9978 #995B7C
analogous
#5D995B #5B9978 #5B9997
triadic
#5B9978 #785B99 #99785B
tetradic
#5B9978 #5B5D99 #995B7C #99975B
square
#5B9978 #5B5D99 #995B7C #99975B
split-complementary
#5B9978 #975B99 #995B5D
monochromatic
#2D4C3C #44735A #5B9978 #7FB397 #A5C9B6

Accessibility & contrast

On white

3.35
#5B9978 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#5B9978 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9978
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9978#FFFFFF#000000##000000
##5B99781.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#989176
Deuteranopia (green-blind)
#8E8A7A
Tritanopia (blue-blind)
#4D9890
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5b9978;
/* rgb */ color: rgb(91, 153, 120);
/* oklch */ color: oklch(63.1% 0.082 159.6);
Tailwind
colors: {
  custom: {
    50: '#8cb79f',
    500: '#5b9978',
    950: '#000000',
  },
}
SCSS
$custom: #5b9978;
$custom-light: #8cb79f;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9978",
  "rgb": {
    "r": 91,
    "g": 153,
    "b": 120
  },
  "hsl": {
    "h": 148.065,
    "s": 25.41,
    "l": 47.843
  },
  "oklch": {
    "l": 0.63129,
    "c": 0.08204,
    "h": 159.6
  },
  "luminance": 0.26363
}

Semantic roles & 50–950 ramp

primary
#5B9978
secondary
#B798A9
accent
#6697C2
background
#F8FBF9
surface
#F0F6F2
border
#CBD0CC
text
#0C110E
muted
#7D807E

Preview Lab

Preview with #5B9978

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

Preview Lab → · Contrast checker → · Palette generator →

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