#5A976E#5A976E

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

Color values

HEX#5A976E
RGBrgb(90, 151, 110)
HSLhsl(140, 25%, 47%)
HSVhsv(140, 40%, 59%)
CMYKcmyk(40.4%, 0%, 27.2%, 40.8%)
CIE-LABlab(57.49, -29.14, 15.53)
CIE-LCHlch(57.49, 33.02, 151.94°)
OKLaboklab(62.33% -0.0799 0.0396)
OKLCHoklch(62.33% 0.089 153.7)
XYZxyz(18.0964, 25.4315, 18.7041)
Luminance0.2543 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A976E #975A83
analogous
#65975A #5A976E #5A978C
triadic
#5A976E #6E5A97 #976E5A
tetradic
#5A976E #5A6597 #975A83 #978C5A
square
#5A976E #5A6597 #975A83 #978C5A
split-complementary
#5A976E #8C5A97 #975A65
monochromatic
#2C4A36 #437152 #5A976E #7DB18E #A3C8AF

Accessibility & contrast

On white

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

On black

6.09
#5A976E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A976E
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A976E#FFFFFF#000000##000000
##5A976E1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#978E6C
Deuteranopia (green-blind)
#8D8770
Tritanopia (blue-blind)
#4E968C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5a976e;
/* rgb */ color: rgb(90, 151, 110);
/* oklch */ color: oklch(62.3% 0.089 153.7);
Tailwind
colors: {
  custom: {
    50: '#8bb697',
    500: '#5a976e',
    950: '#000000',
  },
}
SCSS
$custom: #5a976e;
$custom-light: #8bb697;
$custom-dark: #000000;
JSON
{
  "hex": "#5a976e",
  "rgb": {
    "r": 90,
    "g": 151,
    "b": 110
  },
  "hsl": {
    "h": 139.672,
    "s": 25.311,
    "l": 47.255
  },
  "oklch": {
    "l": 0.62327,
    "c": 0.08915,
    "h": 153.7
  },
  "luminance": 0.25433
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A976E

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

Preview Lab → · Contrast checker → · Palette generator →

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