#5A975C#5A975C

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

Color values

HEX#5A975C
RGBrgb(90, 151, 92)
HSLhsl(122, 25%, 47%)
HSVhsv(122, 40%, 59%)
CMYKcmyk(40.4%, 0%, 39.1%, 40.8%)
CIE-LABlab(57.15, -32.42, 25.04)
CIE-LCHlch(57.15, 40.97, 142.32°)
OKLaboklab(61.94% -0.0883 0.0622)
OKLCHoklch(61.94% 0.108 144.8)
XYZxyz(17.2140, 25.0786, 14.0567)
Luminance0.2508 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A975C #975A95
analogous
#77975A #5A975C #5A977B
triadic
#5A975C #5C5A97 #975C5A
tetradic
#5A975C #5A7797 #975A95 #977B5A
square
#5A975C #5A7797 #975A95 #977B5A
split-complementary
#5A975C #7B5A97 #975A77
monochromatic
#2C4A2D #437145 #5A975C #7DB17F #A3C8A4

Accessibility & contrast

On white

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

On black

6.02
#5A975C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A975C
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A975C#FFFFFF#000000##000000
##5A975C1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#998D58
Deuteranopia (green-blind)
#908760
Tritanopia (blue-blind)
#539488
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5a975c;
/* rgb */ color: rgb(90, 151, 92);
/* oklch */ color: oklch(61.9% 0.108 144.8);
Tailwind
colors: {
  custom: {
    50: '#8cb68b',
    500: '#5a975c',
    950: '#000000',
  },
}
SCSS
$custom: #5a975c;
$custom-light: #8cb68b;
$custom-dark: #000000;
JSON
{
  "hex": "#5a975c",
  "rgb": {
    "r": 90,
    "g": 151,
    "b": 92
  },
  "hsl": {
    "h": 121.967,
    "s": 25.311,
    "l": 47.255
  },
  "oklch": {
    "l": 0.61937,
    "c": 0.10799,
    "h": 144.8
  },
  "luminance": 0.2508
}

Semantic roles & 50–950 ramp

primary
#5A975C
secondary
#B697B5
accent
#66BFC2
background
#F8FBF8
surface
#F0F6F0
border
#CBD0CB
text
#0C110C
muted
#7D807D

Preview Lab

Preview with #5A975C

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

Preview Lab → · Contrast checker → · Palette generator →

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