#5C8C20#5C8C20

#5C8C20 is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.4% C 0.144 H 131.0°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5C8C20
RGBrgb(92, 140, 32)
HSLhsl(87, 63%, 34%)
HSVhsv(87, 77%, 55%)
CMYKcmyk(34.3%, 0%, 77.1%, 45.1%)
CIE-LABlab(53.10, -33.45, 48.95)
CIE-LCHlch(53.10, 59.28, 124.34°)
OKLaboklab(58.44% -0.0949 0.109)
OKLCHoklch(58.44% 0.145 131)
XYZxyz(14.0523, 21.1353, 4.7053)
Luminance0.2114 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8C20 #50208C
analogous
#8C8620 #5C8C20 #268C20
triadic
#5C8C20 #205C8C #8C205C
tetradic
#5C8C20 #208C86 #50208C #8C2026
square
#5C8C20 #208C86 #50208C #8C2026
split-complementary
#5C8C20 #20268C #86208C
monochromatic
#1B2809 #3B5A15 #5C8C20 #7DBE2B #9BD750

Accessibility & contrast

On white

4.02
#5C8C20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#5C8C20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8C20
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8C20#FFFFFF#000000##000000
##5C8C201.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#928107
Deuteranopia (green-blind)
#8C7E2B
Tritanopia (blue-blind)
#5E8678
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5c8c20;
/* rgb */ color: rgb(92, 140, 32);
/* oklch */ color: oklch(58.4% 0.144 131.0);
Tailwind
colors: {
  custom: {
    50: '#8eae64',
    500: '#5c8c20',
    950: '#000000',
  },
}
SCSS
$custom: #5c8c20;
$custom-light: #8eae64;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8c20",
  "rgb": {
    "r": 92,
    "g": 140,
    "b": 32
  },
  "hsl": {
    "h": 86.667,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58441,
    "c": 0.1445,
    "h": 131
  },
  "luminance": 0.21136
}

Semantic roles & 50–950 ramp

primary
#5C8C20
secondary
#7E4EBA
accent
#42E68B
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8C20

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

Preview Lab → · Contrast checker → · Palette generator →

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