#5A973D#5A973D

#5A973D is a mid, vivid green. Relative luminance 0.246; OKLCH L 61.5% C 0.139 H 136.8°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#5A973D
RGBrgb(90, 151, 61)
HSLhsl(101, 42%, 42%)
HSVhsv(101, 60%, 59%)
CMYKcmyk(40.4%, 0%, 59.6%, 40.8%)
CIE-LABlab(56.73, -36.68, 40.52)
CIE-LCHlch(56.73, 54.65, 132.15°)
OKLaboklab(61.45% -0.1013 0.0951)
OKLCHoklch(61.45% 0.139 136.8)
XYZxyz(16.1249, 24.6429, 8.3209)
Luminance0.2464 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A973D #7A3D97
analogous
#87973D #5A973D #3D974D
triadic
#5A973D #3D5A97 #973D5A
tetradic
#5A973D #3D8797 #7A3D97 #974D3D
square
#5A973D #3D8797 #7A3D97 #974D3D
split-complementary
#5A973D #4D3D97 #973D87
monochromatic
#26401A #406B2B #5A973D #77BB56 #9ACC82

Accessibility & contrast

On white

3.54
#5A973D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#5A973D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A973D
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A973D#FFFFFF#000000##000000
##5A973D1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8B34
Deuteranopia (green-blind)
#938644
Tritanopia (blue-blind)
#579283
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5a973d;
/* rgb */ color: rgb(90, 151, 61);
/* oklch */ color: oklch(61.5% 0.139 136.8);
Tailwind
colors: {
  custom: {
    50: '#8db676',
    500: '#5a973d',
    950: '#000000',
  },
}
SCSS
$custom: #5a973d;
$custom-light: #8db676;
$custom-dark: #000000;
JSON
{
  "hex": "#5a973d",
  "rgb": {
    "r": 90,
    "g": 151,
    "b": 61
  },
  "hsl": {
    "h": 100.667,
    "s": 42.453,
    "l": 41.569
  },
  "oklch": {
    "l": 0.61451,
    "c": 0.1389,
    "h": 136.8
  },
  "luminance": 0.24644
}

Semantic roles & 50–950 ramp

primary
#5A973D
secondary
#A379B7
accent
#56D2AA
background
#F8FBF7
surface
#F0F6ED
border
#CBD0C8
text
#0C1109
muted
#7D807B

Preview Lab

Preview with #5A973D

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

Preview Lab → · Contrast checker → · Palette generator →

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