#5B975B#5B975B

#5B975B is a mid, moderate green. Relative luminance 0.251; OKLCH L 62.0% C 0.108 H 144.1°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#5B975B
RGBrgb(91, 151, 91)
HSLhsl(120, 25%, 47%)
HSVhsv(120, 40%, 59%)
CMYKcmyk(39.7%, 0%, 39.7%, 40.8%)
CIE-LABlab(57.18, -32.26, 25.64)
CIE-LCHlch(57.18, 41.21, 141.52°)
OKLaboklab(61.97% -0.0879 0.0636)
OKLCHoklch(61.97% 0.108 144.1)
XYZxyz(17.2685, 25.1117, 13.8326)
Luminance0.2511 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B975B #975B97
analogous
#79975B #5B975B #5B9779
triadic
#5B975B #5B5B97 #975B5B
tetradic
#5B975B #5B7997 #975B97 #97795B
square
#5B975B #5B7997 #975B97 #97795B
split-complementary
#5B975B #795B97 #975B79
monochromatic
#2D4B2D #447144 #5B975B #7EB17E #A4C8A4

Accessibility & contrast

On white

3.49
#5B975B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#5B975B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B975B
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B975B#FFFFFF#000000##000000
##5B975B1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#998D57
Deuteranopia (green-blind)
#90875F
Tritanopia (blue-blind)
#549488
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5b975b;
/* rgb */ color: rgb(91, 151, 91);
/* oklch */ color: oklch(62.0% 0.108 144.1);
Tailwind
colors: {
  custom: {
    50: '#8cb68a',
    500: '#5b975b',
    950: '#000000',
  },
}
SCSS
$custom: #5b975b;
$custom-light: #8cb68a;
$custom-dark: #000000;
JSON
{
  "hex": "#5b975b",
  "rgb": {
    "r": 91,
    "g": 151,
    "b": 91
  },
  "hsl": {
    "h": 120,
    "s": 24.793,
    "l": 47.451
  },
  "oklch": {
    "l": 0.61971,
    "c": 0.10845,
    "h": 144.1
  },
  "luminance": 0.25113
}

Semantic roles & 50–950 ramp

primary
#5B975B
secondary
#B698B6
accent
#67C1C1
background
#F8FBF8
surface
#F0F6F0
border
#CBD0CB
text
#0C110C
muted
#7D807D

Preview Lab

Preview with #5B975B

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

Preview Lab → · Contrast checker → · Palette generator →

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