#5B985C#5B985C

#5B985C is a light, moderate green. Relative luminance 0.255; OKLCH L 62.2% C 0.109 H 144.5°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#5B985C
RGBrgb(91, 152, 92)
HSLhsl(121, 25%, 48%)
HSVhsv(121, 40%, 60%)
CMYKcmyk(40.1%, 0%, 39.5%, 40.4%)
CIE-LABlab(57.51, -32.56, 25.53)
CIE-LCHlch(57.51, 41.38, 141.91°)
OKLaboklab(62.24% -0.0887 0.0633)
OKLCHoklch(62.24% 0.109 144.5)
XYZxyz(17.4736, 25.4523, 14.1152)
Luminance0.2545 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B985C #985B97
analogous
#78985B #5B985C #5B987B
triadic
#5B985C #5C5B98 #985C5B
tetradic
#5B985C #5B7898 #985B97 #987B5B
square
#5B985C #5B7898 #985B97 #987B5B
split-complementary
#5B985C #7B5B98 #985B78
monochromatic
#2D4B2E #447245 #5B985C #7EB27F #A5C9A5

Accessibility & contrast

On white

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

On black

6.09
#5B985C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B985C
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B985C#FFFFFF#000000##000000
##5B985C1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8E58
Deuteranopia (green-blind)
#918860
Tritanopia (blue-blind)
#549589
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5b985c;
/* rgb */ color: rgb(91, 152, 92);
/* oklch */ color: oklch(62.2% 0.109 144.5);
Tailwind
colors: {
  custom: {
    50: '#8cb78b',
    500: '#5b985c',
    950: '#000000',
  },
}
SCSS
$custom: #5b985c;
$custom-light: #8cb78b;
$custom-dark: #000000;
JSON
{
  "hex": "#5b985c",
  "rgb": {
    "r": 91,
    "g": 152,
    "b": 92
  },
  "hsl": {
    "h": 120.984,
    "s": 25.103,
    "l": 47.647
  },
  "oklch": {
    "l": 0.62244,
    "c": 0.10897,
    "h": 144.5
  },
  "luminance": 0.25453
}

Semantic roles & 50–950 ramp

primary
#5B985C
secondary
#B798B6
accent
#66C0C2
background
#F8FBF8
surface
#F0F6F0
border
#CBD0CB
text
#0C110C
muted
#7D807D

Preview Lab

Preview with #5B985C

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

Preview Lab → · Contrast checker → · Palette generator →

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