#5C9620#5C9620

#5C9620 is a mid, vivid yellow-green. Relative luminance 0.242; OKLCH L 61.0% C 0.157 H 132.8°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#5C9620
RGBrgb(92, 150, 32)
HSLhsl(89, 65%, 36%)
HSVhsv(89, 79%, 59%)
CMYKcmyk(38.7%, 0%, 78.7%, 41.2%)
CIE-LABlab(56.28, -37.90, 51.99)
CIE-LCHlch(56.28, 64.34, 126.10°)
OKLaboklab(61.04% -0.1069 0.1154)
OKLCHoklch(61.04% 0.157 132.8)
XYZxyz(15.5805, 24.1916, 5.2147)
Luminance0.2419 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C9620 #5A2096
analogous
#969520 #5C9620 #219620
triadic
#5C9620 #205C96 #96205C
tetradic
#5C9620 #209695 #5A2096 #962021
square
#5C9620 #209695 #5A2096 #962021
split-complementary
#5C9620 #202196 #952096
monochromatic
#1E310A #3D6415 #5C9620 #7BC82B #99DB56

Accessibility & contrast

On white

3.60
#5C9620 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#5C9620 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C9620
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C9620#FFFFFF#000000##000000
##5C96201.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A00
Deuteranopia (green-blind)
#95852D
Tritanopia (blue-blind)
#5D9080
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5c9620;
/* rgb */ color: rgb(92, 150, 32);
/* oklch */ color: oklch(61.0% 0.157 132.8);
Tailwind
colors: {
  custom: {
    50: '#8fb565',
    500: '#5c9620',
    950: '#000000',
  },
}
SCSS
$custom: #5c9620;
$custom-light: #8fb565;
$custom-dark: #000000;
JSON
{
  "hex": "#5c9620",
  "rgb": {
    "r": 92,
    "g": 150,
    "b": 32
  },
  "hsl": {
    "h": 89.492,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.6104,
    "c": 0.1573,
    "h": 132.8
  },
  "luminance": 0.24192
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C9620

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

Preview Lab → · Contrast checker → · Palette generator →

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