#5C9520#5C9520

#5C9520 is a mid, vivid yellow-green. Relative luminance 0.239; OKLCH L 60.8% C 0.156 H 132.7°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#5C9520
RGBrgb(92, 149, 32)
HSLhsl(89, 65%, 35%)
HSVhsv(89, 79%, 58%)
CMYKcmyk(38.3%, 0%, 78.5%, 41.6%)
CIE-LABlab(55.96, -37.47, 51.69)
CIE-LCHlch(55.96, 63.84, 125.94°)
OKLaboklab(60.78% -0.1057 0.1147)
OKLCHoklch(60.78% 0.156 132.7)
XYZxyz(15.4216, 23.8738, 5.1618)
Luminance0.2387 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C9520 #592095
analogous
#959320 #5C9520 #219520
triadic
#5C9520 #205C95 #95205C
tetradic
#5C9520 #209593 #592095 #952021
square
#5C9520 #209593 #592095 #952021
split-complementary
#5C9520 #202195 #932095
monochromatic
#1E300A #3D6315 #5C9520 #7BC72B #99DA55

Accessibility & contrast

On white

3.64
#5C9520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#5C9520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C9520
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C9520#FFFFFF#000000##000000
##5C95201.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8901
Deuteranopia (green-blind)
#94852C
Tritanopia (blue-blind)
#5D8F7F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5c9520;
/* rgb */ color: rgb(92, 149, 32);
/* oklch */ color: oklch(60.8% 0.156 132.7);
Tailwind
colors: {
  custom: {
    50: '#8fb465',
    500: '#5c9520',
    950: '#000000',
  },
}
SCSS
$custom: #5c9520;
$custom-light: #8fb465;
$custom-dark: #000000;
JSON
{
  "hex": "#5c9520",
  "rgb": {
    "r": 92,
    "g": 149,
    "b": 32
  },
  "hsl": {
    "h": 89.231,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.6078,
    "c": 0.15603,
    "h": 132.7
  },
  "luminance": 0.23874
}

Semantic roles & 50–950 ramp

primary
#5C9520
secondary
#8753BE
accent
#40E892
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5C9520

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

Preview Lab → · Contrast checker → · Palette generator →

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