#5A975F#5A975F

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

Color values

HEX#5A975F
RGBrgb(90, 151, 95)
HSLhsl(125, 25%, 47%)
HSVhsv(125, 40%, 59%)
CMYKcmyk(40.4%, 0%, 37.1%, 40.8%)
CIE-LABlab(57.20, -31.91, 23.47)
CIE-LCHlch(57.20, 39.62, 143.67°)
OKLaboklab(62% -0.0869 0.0586)
OKLCHoklch(62% 0.105 146)
XYZxyz(17.3477, 25.1321, 14.7611)
Luminance0.2513 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A975F #975A92
analogous
#74975A #5A975F #5A977E
triadic
#5A975F #5F5A97 #975F5A
tetradic
#5A975F #5A7497 #975A92 #977E5A
square
#5A975F #5A7497 #975A92 #977E5A
split-complementary
#5A975F #7E5A97 #975A74
monochromatic
#2C4A2F #437147 #5A975F #7DB181 #A3C8A6

Accessibility & contrast

On white

3.48
#5A975F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#5A975F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A975F
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A975F#FFFFFF#000000##000000
##5A975F1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#998D5B
Deuteranopia (green-blind)
#908762
Tritanopia (blue-blind)
#529489
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5a975f;
/* rgb */ color: rgb(90, 151, 95);
/* oklch */ color: oklch(62.0% 0.105 146.0);
Tailwind
colors: {
  custom: {
    50: '#8bb68d',
    500: '#5a975f',
    950: '#000000',
  },
}
SCSS
$custom: #5a975f;
$custom-light: #8bb68d;
$custom-dark: #000000;
JSON
{
  "hex": "#5a975f",
  "rgb": {
    "r": 90,
    "g": 151,
    "b": 95
  },
  "hsl": {
    "h": 124.918,
    "s": 25.311,
    "l": 47.255
  },
  "oklch": {
    "l": 0.61996,
    "c": 0.10481,
    "h": 146
  },
  "luminance": 0.25133
}

Semantic roles & 50–950 ramp

primary
#5A975F
secondary
#B697B4
accent
#66BAC2
background
#F8FBF8
surface
#F0F6F0
border
#CBD0CB
text
#0C110C
muted
#7D807D

Preview Lab

Preview with #5A975F

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

Preview Lab → · Contrast checker → · Palette generator →

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