#5B985E#5B985E

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

Color values

HEX#5B985E
RGBrgb(91, 152, 94)
HSLhsl(123, 25%, 48%)
HSVhsv(123, 40%, 60%)
CMYKcmyk(40.1%, 0%, 38.2%, 40.4%)
CIE-LABlab(57.55, -32.23, 24.48)
CIE-LCHlch(57.55, 40.48, 142.78°)
OKLaboklab(62.28% -0.0878 0.0609)
OKLCHoklch(62.28% 0.107 145.2)
XYZxyz(17.5621, 25.4878, 14.5817)
Luminance0.2549 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B985E #985B95
analogous
#76985B #5B985E #5B987D
triadic
#5B985E #5E5B98 #985E5B
tetradic
#5B985E #5B7698 #985B95 #987D5B
square
#5B985E #5B7698 #985B95 #987D5B
split-complementary
#5B985E #7D5B98 #985B76
monochromatic
#2D4B2F #447246 #5B985E #7EB281 #A5C9A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B985E#FFFFFF#000000##000000
##5B985E1.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)
#9A8E5A
Deuteranopia (green-blind)
#918861
Tritanopia (blue-blind)
#539589
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5b985e;
/* rgb */ color: rgb(91, 152, 94);
/* oklch */ color: oklch(62.3% 0.107 145.2);
Tailwind
colors: {
  custom: {
    50: '#8cb78c',
    500: '#5b985e',
    950: '#000000',
  },
}
SCSS
$custom: #5b985e;
$custom-light: #8cb78c;
$custom-dark: #000000;
JSON
{
  "hex": "#5b985e",
  "rgb": {
    "r": 91,
    "g": 152,
    "b": 94
  },
  "hsl": {
    "h": 122.951,
    "s": 25.103,
    "l": 47.647
  },
  "oklch": {
    "l": 0.62283,
    "c": 0.10685,
    "h": 145.2
  },
  "luminance": 0.25489
}

Semantic roles & 50–950 ramp

primary
#5B985E
secondary
#B798B5
accent
#66BDC2
background
#F8FBF8
surface
#F0F6F0
border
#CBD0CB
text
#0C110C
muted
#7D807D

Preview Lab

Preview with #5B985E

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

Preview Lab → · Contrast checker → · Palette generator →

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