#5C9920#5C9920

#5C9920 is a mid, vivid yellow-green. Relative luminance 0.252; OKLCH L 61.8% C 0.161 H 133.3°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#5C9920
RGBrgb(92, 153, 32)
HSLhsl(90, 65%, 36%)
HSVhsv(90, 79%, 60%)
CMYKcmyk(39.9%, 0%, 79.1%, 40%)
CIE-LABlab(57.23, -39.20, 52.89)
CIE-LCHlch(57.23, 65.83, 126.55°)
OKLaboklab(61.82% -0.1104 0.1173)
OKLCHoklch(61.82% 0.161 133.3)
XYZxyz(16.0653, 25.1613, 5.3763)
Luminance0.2516 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C9920 #5D2099
analogous
#999920 #5C9920 #209921
triadic
#5C9920 #205C99 #99205C
tetradic
#5C9920 #209999 #5D2099 #992120
square
#5C9920 #209999 #5D2099 #992120
split-complementary
#5C9920 #212099 #992099
monochromatic
#1F340B #3E6615 #5C9920 #7ACC2B #99DC57

Accessibility & contrast

On white

3.48
#5C9920 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#5C9920 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C9920
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C9920#FFFFFF#000000##000000
##5C99201.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#97882D
Tritanopia (blue-blind)
#5C9383
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5c9920;
/* rgb */ color: rgb(92, 153, 32);
/* oklch */ color: oklch(61.8% 0.161 133.3);
Tailwind
colors: {
  custom: {
    50: '#90b766',
    500: '#5c9920',
    950: '#000000',
  },
}
SCSS
$custom: #5c9920;
$custom-light: #90b766;
$custom-dark: #000000;
JSON
{
  "hex": "#5c9920",
  "rgb": {
    "r": 92,
    "g": 153,
    "b": 32
  },
  "hsl": {
    "h": 90.248,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61819,
    "c": 0.16107,
    "h": 133.3
  },
  "luminance": 0.25162
}

Semantic roles & 50–950 ramp

primary
#5C9920
secondary
#8B55C0
accent
#3FE895
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5C9920

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

Preview Lab → · Contrast checker → · Palette generator →

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