#5B985A#5B985A

#5B985A is a light, moderate green. Relative luminance 0.254; OKLCH L 62.2% C 0.111 H 143.8°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#5B985A
RGBrgb(91, 152, 90)
HSLhsl(119, 26%, 47%)
HSVhsv(119, 41%, 60%)
CMYKcmyk(40.1%, 0%, 40.8%, 40.4%)
CIE-LABlab(57.48, -32.89, 26.57)
CIE-LCHlch(57.48, 42.28, 141.07°)
OKLaboklab(62.21% -0.0896 0.0657)
OKLCHoklch(62.21% 0.111 143.8)
XYZxyz(17.3873, 25.4178, 13.6608)
Luminance0.2542 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B985A #975A98
analogous
#7A985A #5B985A #5A9878
triadic
#5B985A #5A5B98 #985A5B
tetradic
#5B985A #5A7A98 #975A98 #98785A
square
#5B985A #5A7A98 #975A98 #98785A
split-complementary
#5B985A #785A98 #985A7A
monochromatic
#2D4B2C #447243 #5B985A #7EB27D #A4C9A4

Accessibility & contrast

On white

3.45
#5B985A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#5B985A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B985A
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B985A#FFFFFF#000000##000000
##5B985A1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8E56
Deuteranopia (green-blind)
#92885E
Tritanopia (blue-blind)
#549589
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5b985a;
/* rgb */ color: rgb(91, 152, 90);
/* oklch */ color: oklch(62.2% 0.111 143.8);
Tailwind
colors: {
  custom: {
    50: '#8cb789',
    500: '#5b985a',
    950: '#000000',
  },
}
SCSS
$custom: #5b985a;
$custom-light: #8cb789;
$custom-dark: #000000;
JSON
{
  "hex": "#5b985a",
  "rgb": {
    "r": 91,
    "g": 152,
    "b": 90
  },
  "hsl": {
    "h": 119.032,
    "s": 25.62,
    "l": 47.451
  },
  "oklch": {
    "l": 0.62207,
    "c": 0.11109,
    "h": 143.8
  },
  "luminance": 0.25419
}

Semantic roles & 50–950 ramp

primary
#5B985A
secondary
#B697B7
accent
#66C2C1
background
#F8FBF8
surface
#F0F6F0
border
#CBD0CB
text
#0C110B
muted
#7D807C

Preview Lab

Preview with #5B985A

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

Preview Lab → · Contrast checker → · Palette generator →

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