#5C8E20#5C8E20

#5C8E20 is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 59.0% C 0.147 H 131.4°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5C8E20
RGBrgb(92, 142, 32)
HSLhsl(87, 63%, 34%)
HSVhsv(87, 77%, 56%)
CMYKcmyk(35.2%, 0%, 77.5%, 44.3%)
CIE-LABlab(53.73, -34.35, 49.56)
CIE-LCHlch(53.73, 60.30, 124.73°)
OKLaboklab(58.96% -0.0973 0.1103)
OKLCHoklch(58.96% 0.147 131.4)
XYZxyz(14.3472, 21.7250, 4.8036)
Luminance0.2173 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8E20 #52208E
analogous
#8E8920 #5C8E20 #258E20
triadic
#5C8E20 #205C8E #8E205C
tetradic
#5C8E20 #208E89 #52208E #8E2025
square
#5C8E20 #208E89 #52208E #8E2025
split-complementary
#5C8E20 #20258E #89208E
monochromatic
#1B2A09 #3C5C15 #5C8E20 #7CC02B #9AD851

Accessibility & contrast

On white

3.93
#5C8E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#5C8E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8E20
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8E20#FFFFFF#000000##000000
##5C8E201.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#948306
Deuteranopia (green-blind)
#8E7F2B
Tritanopia (blue-blind)
#5E8879
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5c8e20;
/* rgb */ color: rgb(92, 142, 32);
/* oklch */ color: oklch(59.0% 0.147 131.4);
Tailwind
colors: {
  custom: {
    50: '#8faf64',
    500: '#5c8e20',
    950: '#000000',
  },
}
SCSS
$custom: #5c8e20;
$custom-light: #8faf64;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8e20",
  "rgb": {
    "r": 92,
    "g": 142,
    "b": 32
  },
  "hsl": {
    "h": 87.273,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58961,
    "c": 0.14709,
    "h": 131.4
  },
  "luminance": 0.21726
}

Semantic roles & 50–950 ramp

primary
#5C8E20
secondary
#804FBB
accent
#42E68C
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8E20

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

Preview Lab → · Contrast checker → · Palette generator →

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