#5A975B#5A975B

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

Color values

HEX#5A975B
RGBrgb(90, 151, 91)
HSLhsl(121, 25%, 47%)
HSVhsv(121, 40%, 59%)
CMYKcmyk(40.4%, 0%, 39.7%, 40.8%)
CIE-LABlab(57.13, -32.58, 25.56)
CIE-LCHlch(57.13, 41.42, 141.88°)
OKLaboklab(61.92% -0.0887 0.0634)
OKLCHoklch(61.92% 0.109 144.5)
XYZxyz(17.1706, 25.0612, 13.8280)
Luminance0.2506 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A975B #975A96
analogous
#77975A #5A975B #5A977A
triadic
#5A975B #5B5A97 #975B5A
tetradic
#5A975B #5A7797 #975A96 #977A5A
square
#5A975B #5A7797 #975A96 #977A5A
split-complementary
#5A975B #7A5A97 #975A77
monochromatic
#2C4A2D #437144 #5A975B #7DB17E #A3C8A4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A975B#FFFFFF#000000##000000
##5A975B1.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)
#998D57
Deuteranopia (green-blind)
#90875F
Tritanopia (blue-blind)
#539488
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5a975b;
/* rgb */ color: rgb(90, 151, 91);
/* oklch */ color: oklch(61.9% 0.109 144.5);
Tailwind
colors: {
  custom: {
    50: '#8cb68a',
    500: '#5a975b',
    950: '#000000',
  },
}
SCSS
$custom: #5a975b;
$custom-light: #8cb68a;
$custom-dark: #000000;
JSON
{
  "hex": "#5a975b",
  "rgb": {
    "r": 90,
    "g": 151,
    "b": 91
  },
  "hsl": {
    "h": 120.984,
    "s": 25.311,
    "l": 47.255
  },
  "oklch": {
    "l": 0.61918,
    "c": 0.10906,
    "h": 144.5
  },
  "luminance": 0.25062
}

Semantic roles & 50–950 ramp

primary
#5A975B
secondary
#B697B6
accent
#66C0C2
background
#F8FBF8
surface
#F0F6F0
border
#CBD0CB
text
#0C110C
muted
#7D807D

Preview Lab

Preview with #5A975B

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

Preview Lab → · Contrast checker → · Palette generator →

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