#5C9921#5C9921

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

Color values

HEX#5C9921
RGBrgb(92, 153, 33)
HSLhsl(91, 65%, 36%)
HSVhsv(91, 78%, 60%)
CMYKcmyk(39.9%, 0%, 78.4%, 40%)
CIE-LABlab(57.24, -39.15, 52.57)
CIE-LCHlch(57.24, 65.54, 126.67°)
OKLaboklab(61.83% -0.1102 0.1167)
OKLCHoklch(61.83% 0.161 133.4)
XYZxyz(16.0791, 25.1668, 5.4490)
Luminance0.2517 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C9921 #5E2199
analogous
#989921 #5C9921 #219922
triadic
#5C9921 #215C99 #99215C
tetradic
#5C9921 #219899 #5E2199 #992221
square
#5C9921 #219899 #5E2199 #992221
split-complementary
#5C9921 #222199 #992198
monochromatic
#1F340B #3E6716 #5C9921 #7ACB2C #99DB59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C9921#FFFFFF#000000##000000
##5C99211.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)
#9F8C01
Deuteranopia (green-blind)
#97882E
Tritanopia (blue-blind)
#5C9383
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5c9921;
/* rgb */ color: rgb(92, 153, 33);
/* oklch */ color: oklch(61.8% 0.161 133.4);
Tailwind
colors: {
  custom: {
    50: '#90b766',
    500: '#5c9921',
    950: '#000000',
  },
}
SCSS
$custom: #5c9921;
$custom-light: #90b766;
$custom-dark: #000000;
JSON
{
  "hex": "#5c9921",
  "rgb": {
    "r": 92,
    "g": 153,
    "b": 33
  },
  "hsl": {
    "h": 90.5,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61825,
    "c": 0.16054,
    "h": 133.4
  },
  "luminance": 0.25168
}

Semantic roles & 50–950 ramp

primary
#5C9921
secondary
#8C56BF
accent
#40E895
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5C9921

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

Preview Lab → · Contrast checker → · Palette generator →

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