#5B995C#5B995C

#5B995C is a light, moderate green. Relative luminance 0.258; OKLCH L 62.5% C 0.111 H 144.5°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#5B995C
RGBrgb(91, 153, 92)
HSLhsl(121, 25%, 48%)
HSVhsv(121, 41%, 60%)
CMYKcmyk(40.5%, 0%, 39.9%, 40%)
CIE-LABlab(57.83, -33.03, 25.94)
CIE-LCHlch(57.83, 42.00, 141.86°)
OKLaboklab(62.5% -0.09 0.0643)
OKLCHoklch(62.5% 0.111 144.5)
XYZxyz(17.6365, 25.7783, 14.1695)
Luminance0.2578 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B995C #995B98
analogous
#79995B #5B995C #5B997B
triadic
#5B995C #5C5B99 #995C5B
tetradic
#5B995C #5B7999 #995B98 #997B5B
square
#5B995C #5B7999 #995B98 #997B5B
split-complementary
#5B995C #7B5B99 #995B79
monochromatic
#2D4C2E #447345 #5B995C #7FB37F #A5C9A6

Accessibility & contrast

On white

3.41
#5B995C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#5B995C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B995C
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B995C#FFFFFF#000000##000000
##5B995C1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8F58
Deuteranopia (green-blind)
#928960
Tritanopia (blue-blind)
#54968A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5b995c;
/* rgb */ color: rgb(91, 153, 92);
/* oklch */ color: oklch(62.5% 0.111 144.5);
Tailwind
colors: {
  custom: {
    50: '#8cb78b',
    500: '#5b995c',
    950: '#000000',
  },
}
SCSS
$custom: #5b995c;
$custom-light: #8cb78b;
$custom-dark: #000000;
JSON
{
  "hex": "#5b995c",
  "rgb": {
    "r": 91,
    "g": 153,
    "b": 92
  },
  "hsl": {
    "h": 120.968,
    "s": 25.41,
    "l": 47.843
  },
  "oklch": {
    "l": 0.62499,
    "c": 0.11056,
    "h": 144.5
  },
  "luminance": 0.25779
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B995C

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

Preview Lab → · Contrast checker → · Palette generator →

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