#5B8A5A#5B8A5A

#5B8A5A is a mid, moderate green. Relative luminance 0.211; OKLCH L 58.7% C 0.088 H 143.9°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5B8A5A
RGBrgb(91, 138, 90)
HSLhsl(119, 21%, 45%)
HSVhsv(119, 35%, 54%)
CMYKcmyk(34.1%, 0%, 34.8%, 45.9%)
CIE-LABlab(53.10, -26.17, 20.79)
CIE-LCHlch(53.10, 33.42, 141.53°)
OKLaboklab(58.65% -0.0713 0.0521)
OKLCHoklch(58.65% 0.088 143.9)
XYZxyz(15.2477, 21.1386, 12.9476)
Luminance0.2114 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8A5A #895A8A
analogous
#738A5A #5B8A5A #5A8A71
triadic
#5B8A5A #5A5B8A #8A5A5B
tetradic
#5B8A5A #5A738A #895A8A #8A715A
square
#5B8A5A #5A738A #895A8A #8A715A
split-complementary
#5B8A5A #715A8A #8A5A73
monochromatic
#2A402A #436542 #5B8A5A #7AA879 #9FC09E

Accessibility & contrast

On white

4.02
#5B8A5A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#5B8A5A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8A5A
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8A5A#FFFFFF#000000##000000
##5B8A5A1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8257
Deuteranopia (green-blind)
#857D5D
Tritanopia (blue-blind)
#56877E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5b8a5a;
/* rgb */ color: rgb(91, 138, 90);
/* oklch */ color: oklch(58.7% 0.088 143.9);
Tailwind
colors: {
  custom: {
    50: '#8bac89',
    500: '#5b8a5a',
    950: '#000000',
  },
}
SCSS
$custom: #5b8a5a;
$custom-light: #8bac89;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8a5a",
  "rgb": {
    "r": 91,
    "g": 138,
    "b": 90
  },
  "hsl": {
    "h": 118.75,
    "s": 21.053,
    "l": 44.706
  },
  "oklch": {
    "l": 0.58653,
    "c": 0.08834,
    "h": 143.9
  },
  "luminance": 0.21139
}

Semantic roles & 50–950 ramp

primary
#5B8A5A
secondary
#AD92AE
accent
#6ABEBC
background
#F8FAF8
surface
#F0F4F0
border
#CBCECB
text
#0C100B
muted
#7D7F7C

Preview Lab

Preview with #5B8A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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