#5C8A52#5C8A52

#5C8A52 is a mid, moderate green. Relative luminance 0.211; OKLCH L 58.6% C 0.097 H 140.0°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#5C8A52
RGBrgb(92, 138, 82)
HSLhsl(109, 25%, 43%)
HSVhsv(109, 41%, 54%)
CMYKcmyk(33.3%, 0%, 40.6%, 45.9%)
CIE-LABlab(53.02, -27.13, 25.13)
CIE-LCHlch(53.02, 36.98, 137.19°)
OKLaboklab(58.55% -0.0741 0.0621)
OKLCHoklch(58.55% 0.097 140)
XYZxyz(15.0246, 21.0608, 11.2545)
Luminance0.2106 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8A52 #80528A
analogous
#788A52 #5C8A52 #528A64
triadic
#5C8A52 #525C8A #8A525C
tetradic
#5C8A52 #52788A #80528A #8A6452
square
#5C8A52 #52788A #80528A #8A6452
split-complementary
#5C8A52 #64528A #8A5278
monochromatic
#293D24 #42643B #5C8A52 #7AAA6F #9DC196

Accessibility & contrast

On white

4.03
#5C8A52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#5C8A52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8A52
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8A52#FFFFFF#000000##000000
##5C8A521.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D814E
Deuteranopia (green-blind)
#867D55
Tritanopia (blue-blind)
#59877C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5c8a52;
/* rgb */ color: rgb(92, 138, 82);
/* oklch */ color: oklch(58.6% 0.097 140.0);
Tailwind
colors: {
  custom: {
    50: '#8cac83',
    500: '#5c8a52',
    950: '#000000',
  },
}
SCSS
$custom: #5c8a52;
$custom-light: #8cac83;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8a52",
  "rgb": {
    "r": 92,
    "g": 138,
    "b": 82
  },
  "hsl": {
    "h": 109.286,
    "s": 25.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.58553,
    "c": 0.09666,
    "h": 140
  },
  "luminance": 0.21061
}

Semantic roles & 50–950 ramp

primary
#5C8A52
secondary
#A78AAE
accent
#66C2B1
background
#F8FAF8
surface
#F0F4EF
border
#CBCECA
text
#0C100A
muted
#7D7F7C

Preview Lab

Preview with #5C8A52

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

Preview Lab → · Contrast checker → · Palette generator →

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