#5C9922#5C9922

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

Color values

HEX#5C9922
RGBrgb(92, 153, 34)
HSLhsl(91, 64%, 37%)
HSVhsv(91, 78%, 60%)
CMYKcmyk(39.9%, 0%, 77.8%, 40%)
CIE-LABlab(57.24, -39.09, 52.24)
CIE-LCHlch(57.24, 65.25, 126.81°)
OKLaboklab(61.83% -0.11 0.1162)
OKLCHoklch(61.83% 0.16 133.4)
XYZxyz(16.0933, 25.1725, 5.5239)
Luminance0.2517 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C9922 #5F2299
analogous
#989922 #5C9922 #229924
triadic
#5C9922 #225C99 #99225C
tetradic
#5C9922 #229899 #5F2299 #992422
square
#5C9922 #229899 #5F2299 #992422
split-complementary
#5C9922 #242299 #992298
monochromatic
#20350C #3E6717 #5C9922 #7ACB2D #99DB5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C9922#FFFFFF#000000##000000
##5C99221.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)
#9F8D04
Deuteranopia (green-blind)
#97882F
Tritanopia (blue-blind)
#5C9383
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5c9922;
/* rgb */ color: rgb(92, 153, 34);
/* oklch */ color: oklch(61.8% 0.160 133.4);
Tailwind
colors: {
  custom: {
    50: '#90b767',
    500: '#5c9922',
    950: '#000000',
  },
}
SCSS
$custom: #5c9922;
$custom-light: #90b767;
$custom-dark: #000000;
JSON
{
  "hex": "#5c9922",
  "rgb": {
    "r": 92,
    "g": 153,
    "b": 34
  },
  "hsl": {
    "h": 90.756,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61832,
    "c": 0.16001,
    "h": 133.4
  },
  "luminance": 0.25173
}

Semantic roles & 50–950 ramp

primary
#5C9922
secondary
#8D58BF
accent
#41E796
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5C9922

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

Preview Lab → · Contrast checker → · Palette generator →

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