#5A975E#5A975E

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

Color values

HEX#5A975E
RGBrgb(90, 151, 94)
HSLhsl(124, 25%, 47%)
HSVhsv(124, 40%, 59%)
CMYKcmyk(40.4%, 0%, 37.7%, 40.8%)
CIE-LABlab(57.19, -32.08, 24.00)
CIE-LCHlch(57.19, 40.06, 143.21°)
OKLaboklab(61.98% -0.0874 0.0598)
OKLCHoklch(61.98% 0.106 145.6)
XYZxyz(17.3026, 25.1140, 14.5233)
Luminance0.2511 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A975E #975A93
analogous
#75975A #5A975E #5A977C
triadic
#5A975E #5E5A97 #975E5A
tetradic
#5A975E #5A7597 #975A93 #977C5A
square
#5A975E #5A7597 #975A93 #977C5A
split-complementary
#5A975E #7C5A97 #975A75
monochromatic
#2C4A2E #437146 #5A975E #7DB180 #A3C8A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A975E#FFFFFF#000000##000000
##5A975E1.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)
#998D5A
Deuteranopia (green-blind)
#908761
Tritanopia (blue-blind)
#529489
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5a975e;
/* rgb */ color: rgb(90, 151, 94);
/* oklch */ color: oklch(62.0% 0.106 145.6);
Tailwind
colors: {
  custom: {
    50: '#8cb68c',
    500: '#5a975e',
    950: '#000000',
  },
}
SCSS
$custom: #5a975e;
$custom-light: #8cb68c;
$custom-dark: #000000;
JSON
{
  "hex": "#5a975e",
  "rgb": {
    "r": 90,
    "g": 151,
    "b": 94
  },
  "hsl": {
    "h": 123.934,
    "s": 25.311,
    "l": 47.255
  },
  "oklch": {
    "l": 0.61976,
    "c": 0.10587,
    "h": 145.6
  },
  "luminance": 0.25115
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A975E

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

Preview Lab → · Contrast checker → · Palette generator →

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