#5A993C#5A993C

#5A993C is a mid, vivid green. Relative luminance 0.253; OKLCH L 62.0% C 0.143 H 136.9°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#5A993C
RGBrgb(90, 153, 60)
HSLhsl(101, 44%, 42%)
HSVhsv(101, 61%, 60%)
CMYKcmyk(41.2%, 0%, 60.8%, 40%)
CIE-LABlab(57.35, -37.67, 41.70)
CIE-LCHlch(57.35, 56.20, 132.09°)
OKLaboklab(61.96% -0.1041 0.0975)
OKLCHoklch(61.96% 0.143 136.9)
XYZxyz(16.4228, 25.2815, 8.2886)
Luminance0.2528 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A993C #7B3C99
analogous
#89993C #5A993C #3C994D
triadic
#5A993C #3C5A99 #993C5A
tetradic
#5A993C #3C8999 #7B3C99 #994D3C
square
#5A993C #3C8999 #7B3C99 #994D3C
split-complementary
#5A993C #4D3C99 #993C89
monochromatic
#26411A #406D2B #5A993C #77BD56 #9ACE82

Accessibility & contrast

On white

3.47
#5A993C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#5A993C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A993C
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A993C#FFFFFF#000000##000000
##5A993C1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8D32
Deuteranopia (green-blind)
#958843
Tritanopia (blue-blind)
#579485
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5a993c;
/* rgb */ color: rgb(90, 153, 60);
/* oklch */ color: oklch(62.0% 0.143 136.9);
Tailwind
colors: {
  custom: {
    50: '#8db775',
    500: '#5a993c',
    950: '#000000',
  },
}
SCSS
$custom: #5a993c;
$custom-light: #8db775;
$custom-dark: #000000;
JSON
{
  "hex": "#5a993c",
  "rgb": {
    "r": 90,
    "g": 153,
    "b": 60
  },
  "hsl": {
    "h": 100.645,
    "s": 43.662,
    "l": 41.765
  },
  "oklch": {
    "l": 0.61957,
    "c": 0.1426,
    "h": 136.9
  },
  "luminance": 0.25282
}

Semantic roles & 50–950 ramp

primary
#5A993C
secondary
#A479B8
accent
#54D3AA
background
#F8FBF7
surface
#F0F6ED
border
#CBD0C8
text
#0D1108
muted
#7D807B

Preview Lab

Preview with #5A993C

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

Preview Lab → · Contrast checker → · Palette generator →

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