#5A975D#5A975D

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

Color values

HEX#5A975D
RGBrgb(90, 151, 93)
HSLhsl(123, 25%, 47%)
HSVhsv(123, 40%, 59%)
CMYKcmyk(40.4%, 0%, 38.4%, 40.8%)
CIE-LABlab(57.17, -32.25, 24.52)
CIE-LCHlch(57.17, 40.51, 142.76°)
OKLaboklab(61.96% -0.0878 0.061)
OKLCHoklch(61.96% 0.107 145.2)
XYZxyz(17.2580, 25.0962, 14.2885)
Luminance0.2510 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A975D #975A94
analogous
#76975A #5A975D #5A977C
triadic
#5A975D #5D5A97 #975D5A
tetradic
#5A975D #5A7697 #975A94 #977C5A
square
#5A975D #5A7697 #975A94 #977C5A
split-complementary
#5A975D #7C5A97 #975A76
monochromatic
#2C4A2E #437145 #5A975D #7DB17F #A3C8A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A975D#FFFFFF#000000##000000
##5A975D1.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)
#998D59
Deuteranopia (green-blind)
#908760
Tritanopia (blue-blind)
#529488
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5a975d;
/* rgb */ color: rgb(90, 151, 93);
/* oklch */ color: oklch(62.0% 0.107 145.2);
Tailwind
colors: {
  custom: {
    50: '#8cb68b',
    500: '#5a975d',
    950: '#000000',
  },
}
SCSS
$custom: #5a975d;
$custom-light: #8cb68b;
$custom-dark: #000000;
JSON
{
  "hex": "#5a975d",
  "rgb": {
    "r": 90,
    "g": 151,
    "b": 93
  },
  "hsl": {
    "h": 122.951,
    "s": 25.311,
    "l": 47.255
  },
  "oklch": {
    "l": 0.61957,
    "c": 0.10693,
    "h": 145.2
  },
  "luminance": 0.25097
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A975D

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

Preview Lab → · Contrast checker → · Palette generator →

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