#5A975A#5A975A

#5A975A is a mid, moderate green. Relative luminance 0.250; OKLCH L 61.9% C 0.110 H 144.1°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#5A975A
RGBrgb(90, 151, 90)
HSLhsl(120, 25%, 47%)
HSVhsv(120, 40%, 59%)
CMYKcmyk(40.4%, 0%, 40.4%, 40.8%)
CIE-LABlab(57.12, -32.75, 26.09)
CIE-LCHlch(57.12, 41.87, 141.46°)
OKLaboklab(61.9% -0.0892 0.0646)
OKLCHoklch(61.9% 0.11 144.1)
XYZxyz(17.1277, 25.0441, 13.6024)
Luminance0.2505 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A975A #975A97
analogous
#79975A #5A975A #5A9779
triadic
#5A975A #5A5A97 #975A5A
tetradic
#5A975A #5A7997 #975A97 #97795A
square
#5A975A #5A7997 #975A97 #97795A
split-complementary
#5A975A #795A97 #975A79
monochromatic
#2C4A2C #437143 #5A975A #7DB17D #A3C8A3

Accessibility & contrast

On white

3.49
#5A975A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#5A975A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A975A
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A975A#FFFFFF#000000##000000
##5A975A1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#998D56
Deuteranopia (green-blind)
#90875E
Tritanopia (blue-blind)
#539488
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5a975a;
/* rgb */ color: rgb(90, 151, 90);
/* oklch */ color: oklch(61.9% 0.110 144.1);
Tailwind
colors: {
  custom: {
    50: '#8cb689',
    500: '#5a975a',
    950: '#000000',
  },
}
SCSS
$custom: #5a975a;
$custom-light: #8cb689;
$custom-dark: #000000;
JSON
{
  "hex": "#5a975a",
  "rgb": {
    "r": 90,
    "g": 151,
    "b": 90
  },
  "hsl": {
    "h": 120,
    "s": 25.311,
    "l": 47.255
  },
  "oklch": {
    "l": 0.61899,
    "c": 0.11012,
    "h": 144.1
  },
  "luminance": 0.25045
}

Semantic roles & 50–950 ramp

primary
#5A975A
secondary
#B697B6
accent
#66C2C2
background
#F8FBF8
surface
#F0F6F0
border
#CBD0CB
text
#0C110B
muted
#7D807C

Preview Lab

Preview with #5A975A

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

Preview Lab → · Contrast checker → · Palette generator →

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