#5B985F#5B985F

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

Color values

HEX#5B985F
RGBrgb(91, 152, 95)
HSLhsl(124, 25%, 48%)
HSVhsv(124, 40%, 60%)
CMYKcmyk(40.1%, 0%, 37.5%, 40.4%)
CIE-LABlab(57.56, -32.06, 23.96)
CIE-LCHlch(57.56, 40.02, 143.23°)
OKLaboklab(62.3% -0.0873 0.0597)
OKLCHoklch(62.3% 0.106 145.6)
XYZxyz(17.6073, 25.5058, 14.8196)
Luminance0.2551 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B985F #985B94
analogous
#76985B #5B985F #5B987D
triadic
#5B985F #5F5B98 #985F5B
tetradic
#5B985F #5B7698 #985B94 #987D5B
square
#5B985F #5B7698 #985B94 #987D5B
split-complementary
#5B985F #7D5B98 #985B76
monochromatic
#2D4B2F #447247 #5B985F #7EB282 #A5C9A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B985F#FFFFFF#000000##000000
##5B985F1.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)
#9A8E5B
Deuteranopia (green-blind)
#918862
Tritanopia (blue-blind)
#53958A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5b985f;
/* rgb */ color: rgb(91, 152, 95);
/* oklch */ color: oklch(62.3% 0.106 145.6);
Tailwind
colors: {
  custom: {
    50: '#8cb78d',
    500: '#5b985f',
    950: '#000000',
  },
}
SCSS
$custom: #5b985f;
$custom-light: #8cb78d;
$custom-dark: #000000;
JSON
{
  "hex": "#5b985f",
  "rgb": {
    "r": 91,
    "g": 152,
    "b": 95
  },
  "hsl": {
    "h": 123.934,
    "s": 25.103,
    "l": 47.647
  },
  "oklch": {
    "l": 0.62303,
    "c": 0.10578,
    "h": 145.6
  },
  "luminance": 0.25507
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B985F

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

Preview Lab → · Contrast checker → · Palette generator →

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