#5C8D20#5C8D20

#5C8D20 is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.7% C 0.146 H 131.2°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5C8D20
RGBrgb(92, 141, 32)
HSLhsl(87, 63%, 34%)
HSVhsv(87, 77%, 55%)
CMYKcmyk(34.8%, 0%, 77.3%, 44.7%)
CIE-LABlab(53.42, -33.90, 49.26)
CIE-LCHlch(53.42, 59.79, 124.54°)
OKLaboklab(58.7% -0.0961 0.1096)
OKLCHoklch(58.7% 0.146 131.2)
XYZxyz(14.1991, 21.4288, 4.7543)
Luminance0.2143 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8D20 #51208D
analogous
#8D8820 #5C8D20 #268D20
triadic
#5C8D20 #205C8D #8D205C
tetradic
#5C8D20 #208D88 #51208D #8D2026
square
#5C8D20 #208D88 #51208D #8D2026
split-complementary
#5C8D20 #20268D #88208D
monochromatic
#1B2909 #3B5B15 #5C8D20 #7DBF2B #9BD750

Accessibility & contrast

On white

3.97
#5C8D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#5C8D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8D20
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8D20#FFFFFF#000000##000000
##5C8D201.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938206
Deuteranopia (green-blind)
#8D7E2B
Tritanopia (blue-blind)
#5E8778
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5c8d20;
/* rgb */ color: rgb(92, 141, 32);
/* oklch */ color: oklch(58.7% 0.146 131.2);
Tailwind
colors: {
  custom: {
    50: '#8fae64',
    500: '#5c8d20',
    950: '#000000',
  },
}
SCSS
$custom: #5c8d20;
$custom-light: #8fae64;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8d20",
  "rgb": {
    "r": 92,
    "g": 141,
    "b": 32
  },
  "hsl": {
    "h": 86.972,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58701,
    "c": 0.14579,
    "h": 131.2
  },
  "luminance": 0.21429
}

Semantic roles & 50–950 ramp

primary
#5C8D20
secondary
#7F4EBA
accent
#42E68C
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8D20

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

Preview Lab → · Contrast checker → · Palette generator →

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