#5B8A4E#5B8A4E

#5B8A4E is a mid, moderate green. Relative luminance 0.210; OKLCH L 58.4% C 0.102 H 139.1°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#5B8A4E
RGBrgb(91, 138, 78)
HSLhsl(107, 28%, 42%)
HSVhsv(107, 43%, 54%)
CMYKcmyk(34.1%, 0%, 43.5%, 45.9%)
CIE-LABlab(52.90, -28.10, 27.15)
CIE-LCHlch(52.90, 39.08, 135.99°)
OKLaboklab(58.42% -0.0768 0.0666)
OKLCHoklch(58.42% 0.102 139.1)
XYZxyz(14.7775, 20.9505, 10.4715)
Luminance0.2095 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8A4E #7D4E8A
analogous
#798A4E #5B8A4E #4E8A5F
triadic
#5B8A4E #4E5B8A #8A4E5B
tetradic
#5B8A4E #4E798A #7D4E8A #8A5F4E
square
#5B8A4E #4E798A #7D4E8A #8A5F4E
split-complementary
#5B8A4E #5F4E8A #8A4E79
monochromatic
#273C22 #416338 #5B8A4E #78AB6A #9CC191

Accessibility & contrast

On white

4.05
#5B8A4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#5B8A4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8A4E
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8A4E#FFFFFF#000000##000000
##5B8A4E1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8149
Deuteranopia (green-blind)
#867D52
Tritanopia (blue-blind)
#58867B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5b8a4e;
/* rgb */ color: rgb(91, 138, 78);
/* oklch */ color: oklch(58.4% 0.102 139.1);
Tailwind
colors: {
  custom: {
    50: '#8bac80',
    500: '#5b8a4e',
    950: '#000000',
  },
}
SCSS
$custom: #5b8a4e;
$custom-light: #8bac80;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8a4e",
  "rgb": {
    "r": 91,
    "g": 138,
    "b": 78
  },
  "hsl": {
    "h": 107,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.58419,
    "c": 0.10169,
    "h": 139.1
  },
  "luminance": 0.20951
}

Semantic roles & 50–950 ramp

primary
#5B8A4E
secondary
#A586AE
accent
#64C4AF
background
#F8FAF7
surface
#F0F4EE
border
#CBCEC9
text
#0C100A
muted
#7D7F7C

Preview Lab

Preview with #5B8A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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