#5C8D3A#5C8D3A

#5C8D3A is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 58.9% C 0.126 H 134.3°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#5C8D3A
RGBrgb(92, 141, 58)
HSLhsl(95, 42%, 39%)
HSVhsv(95, 59%, 55%)
CMYKcmyk(34.8%, 0%, 58.9%, 44.7%)
CIE-LABlab(53.63, -31.74, 38.43)
CIE-LCHlch(53.63, 49.84, 129.55°)
OKLaboklab(58.95% -0.0881 0.0903)
OKLCHoklch(58.95% 0.126 134.3)
XYZxyz(14.7019, 21.6300, 7.4025)
Luminance0.2163 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8D3A #6B3A8D
analogous
#868D3A #5C8D3A #3A8D42
triadic
#5C8D3A #3A5C8D #8D3A5C
tetradic
#5C8D3A #3A868D #6B3A8D #8D423A
square
#5C8D3A #3A868D #6B3A8D #8D423A
split-complementary
#5C8D3A #423A8D #8D3A86
monochromatic
#233616 #406228 #5C8D3A #79B64E #9AC879

Accessibility & contrast

On white

3.94
#5C8D3A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#5C8D3A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8D3A
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8D3A#FFFFFF#000000##000000
##5C8D3A1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#928331
Deuteranopia (green-blind)
#8B7F40
Tritanopia (blue-blind)
#5C887B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5c8d3a;
/* rgb */ color: rgb(92, 141, 58);
/* oklch */ color: oklch(58.9% 0.126 134.3);
Tailwind
colors: {
  custom: {
    50: '#8dae73',
    500: '#5c8d3a',
    950: '#000000',
  },
}
SCSS
$custom: #5c8d3a;
$custom-light: #8dae73;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8d3a",
  "rgb": {
    "r": 92,
    "g": 141,
    "b": 58
  },
  "hsl": {
    "h": 95.422,
    "s": 41.709,
    "l": 39.02
  },
  "oklch": {
    "l": 0.58947,
    "c": 0.12611,
    "h": 134.3
  },
  "luminance": 0.21631
}

Semantic roles & 50–950 ramp

primary
#5C8D3A
secondary
#9771B1
accent
#56D29F
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0C1008
muted
#7D7F7B

Preview Lab

Preview with #5C8D3A

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

Preview Lab → · Contrast checker → · Palette generator →

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