#5B984B#5B984B

#5B984B is a mid, vivid green. Relative luminance 0.252; OKLCH L 62.0% C 0.127 H 139.4°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#5B984B
RGBrgb(91, 152, 75)
HSLhsl(108, 34%, 45%)
HSVhsv(108, 51%, 60%)
CMYKcmyk(40.1%, 0%, 50.7%, 40.4%)
CIE-LABlab(57.26, -35.10, 34.21)
CIE-LCHlch(57.26, 49.01, 135.73°)
OKLaboklab(61.95% -0.0961 0.0824)
OKLCHoklch(61.95% 0.127 139.4)
XYZxyz(16.8120, 25.1877, 10.6311)
Luminance0.2519 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B984B #884B98
analogous
#82984B #5B984B #4B9861
triadic
#5B984B #4B5B98 #984B5B
tetradic
#5B984B #4B8298 #884B98 #98614B
square
#5B984B #4B8298 #884B98 #98614B
split-complementary
#5B984B #614B98 #984B82
monochromatic
#2A4623 #426F37 #5B984B #7AB66A #9FCA93

Accessibility & contrast

On white

3.48
#5B984B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#5B984B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B984B
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B984B#FFFFFF#000000##000000
##5B984B1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8D44
Deuteranopia (green-blind)
#938750
Tritanopia (blue-blind)
#579486
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5b984b;
/* rgb */ color: rgb(91, 152, 75);
/* oklch */ color: oklch(62.0% 0.127 139.4);
Tailwind
colors: {
  custom: {
    50: '#8db77f',
    500: '#5b984b',
    950: '#000000',
  },
}
SCSS
$custom: #5b984b;
$custom-light: #8db77f;
$custom-dark: #000000;
JSON
{
  "hex": "#5b984b",
  "rgb": {
    "r": 91,
    "g": 152,
    "b": 75
  },
  "hsl": {
    "h": 107.532,
    "s": 33.921,
    "l": 44.51
  },
  "oklch": {
    "l": 0.61953,
    "c": 0.1266,
    "h": 139.4
  },
  "luminance": 0.25189
}

Semantic roles & 50–950 ramp

primary
#5B984B
secondary
#AD89B6
accent
#5ECAB4
background
#F8FBF7
surface
#F0F6EE
border
#CBD0C9
text
#0C110A
muted
#7D807C

Preview Lab

Preview with #5B984B

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

Preview Lab → · Contrast checker → · Palette generator →

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