#5B976F#5B976F

#5B976F is a light, moderate green. Relative luminance 0.255; OKLCH L 62.4% C 0.087 H 153.9°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#5B976F
RGBrgb(91, 151, 111)
HSLhsl(140, 25%, 47%)
HSVhsv(140, 40%, 59%)
CMYKcmyk(39.7%, 0%, 26.5%, 40.8%)
CIE-LABlab(57.56, -28.63, 15.08)
CIE-LCHlch(57.56, 32.36, 152.23°)
OKLaboklab(62.4% -0.0786 0.0384)
OKLCHoklch(62.4% 0.087 153.9)
XYZxyz(18.2491, 25.5039, 18.9970)
Luminance0.2550 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B976F #975B83
analogous
#65975B #5B976F #5B978D
triadic
#5B976F #6F5B97 #976F5B
tetradic
#5B976F #5B6597 #975B83 #978D5B
square
#5B976F #5B6597 #975B83 #978D5B
split-complementary
#5B976F #8D5B97 #975B65
monochromatic
#2D4B37 #447153 #5B976F #7EB18F #A4C8B0

Accessibility & contrast

On white

3.44
#5B976F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#5B976F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B976F
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B976F#FFFFFF#000000##000000
##5B976F1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#978E6D
Deuteranopia (green-blind)
#8E8871
Tritanopia (blue-blind)
#4F968C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5b976f;
/* rgb */ color: rgb(91, 151, 111);
/* oklch */ color: oklch(62.4% 0.087 153.9);
Tailwind
colors: {
  custom: {
    50: '#8cb698',
    500: '#5b976f',
    950: '#000000',
  },
}
SCSS
$custom: #5b976f;
$custom-light: #8cb698;
$custom-dark: #000000;
JSON
{
  "hex": "#5b976f",
  "rgb": {
    "r": 91,
    "g": 151,
    "b": 111
  },
  "hsl": {
    "h": 140,
    "s": 24.793,
    "l": 47.451
  },
  "oklch": {
    "l": 0.62403,
    "c": 0.08746,
    "h": 153.9
  },
  "luminance": 0.25505
}

Semantic roles & 50–950 ramp

primary
#5B976F
secondary
#B698AC
accent
#67A3C1
background
#F8FBF9
surface
#F0F6F2
border
#CBD0CC
text
#0C110D
muted
#7D807E

Preview Lab

Preview with #5B976F

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

Preview Lab → · Contrast checker → · Palette generator →

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