#5A976D#5A976D

#5A976D is a light, moderate green. Relative luminance 0.254; OKLCH L 62.3% C 0.090 H 153.1°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#5A976D
RGBrgb(90, 151, 109)
HSLhsl(139, 25%, 47%)
HSVhsv(139, 40%, 59%)
CMYKcmyk(40.4%, 0%, 27.8%, 40.8%)
CIE-LABlab(57.47, -29.34, 16.07)
CIE-LCHlch(57.47, 33.45, 151.29°)
OKLaboklab(62.3% -0.0804 0.0409)
OKLCHoklch(62.3% 0.09 153.1)
XYZxyz(18.0423, 25.4099, 18.4189)
Luminance0.2541 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A976D #975A84
analogous
#65975A #5A976D #5A978C
triadic
#5A976D #6D5A97 #976D5A
tetradic
#5A976D #5A6597 #975A84 #978C5A
square
#5A976D #5A6597 #975A84 #978C5A
split-complementary
#5A976D #8C5A97 #975A65
monochromatic
#2C4A36 #437151 #5A976D #7DB18D #A3C8AF

Accessibility & contrast

On white

3.45
#5A976D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#5A976D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A976D
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A976D#FFFFFF#000000##000000
##5A976D1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#978E6B
Deuteranopia (green-blind)
#8E876F
Tritanopia (blue-blind)
#4F958C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5a976d;
/* rgb */ color: rgb(90, 151, 109);
/* oklch */ color: oklch(62.3% 0.090 153.1);
Tailwind
colors: {
  custom: {
    50: '#8bb697',
    500: '#5a976d',
    950: '#000000',
  },
}
SCSS
$custom: #5a976d;
$custom-light: #8bb697;
$custom-dark: #000000;
JSON
{
  "hex": "#5a976d",
  "rgb": {
    "r": 90,
    "g": 151,
    "b": 109
  },
  "hsl": {
    "h": 138.689,
    "s": 25.311,
    "l": 47.255
  },
  "oklch": {
    "l": 0.62303,
    "c": 0.09016,
    "h": 153.1
  },
  "luminance": 0.25411
}

Semantic roles & 50–950 ramp

primary
#5A976D
secondary
#B697AC
accent
#66A5C2
background
#F8FBF9
surface
#F0F6F2
border
#CBD0CC
text
#0C110D
muted
#7D807E

Preview Lab

Preview with #5A976D

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

Preview Lab → · Contrast checker → · Palette generator →

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