#5B8752#5B8752

#5B8752 is a mid, moderate green. Relative luminance 0.202; OKLCH L 57.7% C 0.092 H 140.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5B8752
RGBrgb(91, 135, 82)
HSLhsl(110, 24%, 43%)
HSVhsv(110, 39%, 53%)
CMYKcmyk(32.6%, 0%, 39.3%, 47.1%)
CIE-LABlab(52.02, -26.01, 23.82)
CIE-LCHlch(52.02, 35.27, 137.52°)
OKLaboklab(57.73% -0.071 0.059)
OKLCHoklch(57.73% 0.092 140.3)
XYZxyz(14.5008, 20.1607, 11.1084)
Luminance0.2016 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8752 #7E5287
analogous
#768752 #5B8752 #528763
triadic
#5B8752 #525B87 #87525B
tetradic
#5B8752 #527687 #7E5287 #876352
square
#5B8752 #527687 #7E5287 #876352
split-complementary
#5B8752 #635287 #875276
monochromatic
#283B24 #41613B #5B8752 #78A76F #9CBF95

Accessibility & contrast

On white

4.17
#5B8752 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#5B8752 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8752
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8752#FFFFFF#000000##000000
##5B87521.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7F4E
Deuteranopia (green-blind)
#837A55
Tritanopia (blue-blind)
#58847A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5b8752;
/* rgb */ color: rgb(91, 135, 82);
/* oklch */ color: oklch(57.7% 0.092 140.3);
Tailwind
colors: {
  custom: {
    50: '#8baa83',
    500: '#5b8752',
    950: '#000000',
  },
}
SCSS
$custom: #5b8752;
$custom-light: #8baa83;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8752",
  "rgb": {
    "r": 91,
    "g": 135,
    "b": 82
  },
  "hsl": {
    "h": 109.811,
    "s": 24.424,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5773,
    "c": 0.09233,
    "h": 140.3
  },
  "luminance": 0.20161
}

Semantic roles & 50–950 ramp

primary
#5B8752
secondary
#A689AC
accent
#67C1B2
background
#F8FAF8
surface
#F0F4EF
border
#CBCECA
text
#0C100A
muted
#7D7F7C

Preview Lab

Preview with #5B8752

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

Preview Lab → · Contrast checker → · Palette generator →

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