#5A8D64#5A8D64

#5A8D64 is a mid, moderate green. Relative luminance 0.221; OKLCH L 59.6% C 0.083 H 149.5°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#5A8D64
RGBrgb(90, 141, 100)
HSLhsl(132, 22%, 45%)
HSVhsv(132, 36%, 55%)
CMYKcmyk(36.2%, 0%, 29.1%, 44.7%)
CIE-LABlab(54.18, -26.18, 16.61)
CIE-LCHlch(54.18, 31.00, 147.61°)
OKLaboklab(59.57% -0.0716 0.0421)
OKLCHoklch(59.57% 0.083 149.5)
XYZxyz(16.0407, 22.1427, 15.4829)
Luminance0.2214 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8D64 #8D5A83
analogous
#698D5A #5A8D64 #5A8D7D
triadic
#5A8D64 #645A8D #8D645A
tetradic
#5A8D64 #5A698D #8D5A83 #8D7D5A
square
#5A8D64 #5A698D #8D5A83 #8D7D5A
split-complementary
#5A8D64 #7D5A8D #8D5A69
monochromatic
#2A422F #42684A #5A8D64 #7AAA83 #9FC2A6

Accessibility & contrast

On white

3.87
#5A8D64 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#5A8D64 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8D64
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8D64#FFFFFF#000000##000000
##5A8D641.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8562
Deuteranopia (green-blind)
#867F66
Tritanopia (blue-blind)
#528B82
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5a8d64;
/* rgb */ color: rgb(90, 141, 100);
/* oklch */ color: oklch(59.6% 0.083 149.5);
Tailwind
colors: {
  custom: {
    50: '#8aae90',
    500: '#5a8d64',
    950: '#000000',
  },
}
SCSS
$custom: #5a8d64;
$custom-light: #8aae90;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8d64",
  "rgb": {
    "r": 90,
    "g": 141,
    "b": 100
  },
  "hsl": {
    "h": 131.765,
    "s": 22.078,
    "l": 45.294
  },
  "oklch": {
    "l": 0.59574,
    "c": 0.08306,
    "h": 149.5
  },
  "luminance": 0.22144
}

Semantic roles & 50–950 ramp

primary
#5A8D64
secondary
#B093AA
accent
#69AEBF
background
#F8FAF8
surface
#F0F4F0
border
#CBCECB
text
#0C100C
muted
#7D7F7D

Preview Lab

Preview with #5A8D64

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

Preview Lab → · Contrast checker → · Palette generator →

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