#5C9820#5C9820

#5C9820 is a mid, vivid yellow-green. Relative luminance 0.248; OKLCH L 61.6% C 0.160 H 133.1°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#5C9820
RGBrgb(92, 152, 32)
HSLhsl(90, 65%, 36%)
HSVhsv(90, 79%, 60%)
CMYKcmyk(39.5%, 0%, 78.9%, 40.4%)
CIE-LABlab(56.91, -38.77, 52.59)
CIE-LCHlch(56.91, 65.34, 126.40°)
OKLaboklab(61.56% -0.1093 0.1166)
OKLCHoklch(61.56% 0.16 133.1)
XYZxyz(15.9023, 24.8353, 5.3220)
Luminance0.2484 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C9820 #5C2098
analogous
#989820 #5C9820 #209820
triadic
#5C9820 #205C98 #98205C
tetradic
#5C9820 #209898 #5C2098 #982020
square
#5C9820 #209898 #5C2098 #982020
split-complementary
#5C9820 #202098 #982098
monochromatic
#1F330B #3D6515 #5C9820 #7BCB2B #99DC57

Accessibility & contrast

On white

3.52
#5C9820 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#5C9820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C9820
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C9820#FFFFFF#000000##000000
##5C98201.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C00
Deuteranopia (green-blind)
#96872D
Tritanopia (blue-blind)
#5C9282
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5c9820;
/* rgb */ color: rgb(92, 152, 32);
/* oklch */ color: oklch(61.6% 0.160 133.1);
Tailwind
colors: {
  custom: {
    50: '#90b766',
    500: '#5c9820',
    950: '#000000',
  },
}
SCSS
$custom: #5c9820;
$custom-light: #90b766;
$custom-dark: #000000;
JSON
{
  "hex": "#5c9820",
  "rgb": {
    "r": 92,
    "g": 152,
    "b": 32
  },
  "hsl": {
    "h": 90,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61559,
    "c": 0.15981,
    "h": 133.1
  },
  "luminance": 0.24836
}

Semantic roles & 50–950 ramp

primary
#5C9820
secondary
#8A54BF
accent
#40E894
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5C9820

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

Preview Lab → · Contrast checker → · Palette generator →

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