#5B8762#5B8762

#5B8762 is a mid, moderate green. Relative luminance 0.204; OKLCH L 58.1% C 0.074 H 148.7°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#5B8762
RGBrgb(91, 135, 98)
HSLhsl(130, 19%, 44%)
HSVhsv(130, 33%, 53%)
CMYKcmyk(32.6%, 0%, 27.4%, 47.1%)
CIE-LABlab(52.32, -23.21, 15.21)
CIE-LCHlch(52.32, 27.74, 146.77°)
OKLaboklab(58.08% -0.0635 0.0387)
OKLCHoklch(58.08% 0.074 148.7)
XYZxyz(15.1822, 20.4332, 14.6970)
Luminance0.2043 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8762 #875B80
analogous
#6A875B #5B8762 #5B8778
triadic
#5B8762 #625B87 #87625B
tetradic
#5B8762 #5B6A87 #875B80 #87785B
square
#5B8762 #5B6A87 #875B80 #87785B
split-complementary
#5B8762 #785B87 #875B6A
monochromatic
#2A3E2D #426247 #5B8762 #7AA581 #9EBEA3

Accessibility & contrast

On white

4.13
#5B8762 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#5B8762 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8762
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8762#FFFFFF#000000##000000
##5B87621.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#888060
Deuteranopia (green-blind)
#817B64
Tritanopia (blue-blind)
#55857D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5b8762;
/* rgb */ color: rgb(91, 135, 98);
/* oklch */ color: oklch(58.1% 0.074 148.7);
Tailwind
colors: {
  custom: {
    50: '#8baa8e',
    500: '#5b8762',
    950: '#000000',
  },
}
SCSS
$custom: #5b8762;
$custom-light: #8baa8e;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8762",
  "rgb": {
    "r": 91,
    "g": 135,
    "b": 98
  },
  "hsl": {
    "h": 129.545,
    "s": 19.469,
    "l": 44.314
  },
  "oklch": {
    "l": 0.58077,
    "c": 0.07435,
    "h": 148.7
  },
  "luminance": 0.20434
}

Semantic roles & 50–950 ramp

primary
#5B8762
secondary
#AC92A8
accent
#6CAFBC
background
#F8FAF8
surface
#F0F4F0
border
#CBCECB
text
#0C100C
muted
#7D7F7D

Preview Lab

Preview with #5B8762

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

Preview Lab → · Contrast checker → · Palette generator →

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