#5C9221#5C9221

#5C9221 is a mid, vivid yellow-green. Relative luminance 0.229; OKLCH L 60.0% C 0.152 H 132.2°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#5C9221
RGBrgb(92, 146, 33)
HSLhsl(89, 63%, 35%)
HSVhsv(89, 77%, 57%)
CMYKcmyk(37%, 0%, 77.4%, 42.7%)
CIE-LABlab(55.01, -36.09, 50.44)
CIE-LCHlch(55.01, 62.02, 125.58°)
OKLaboklab(60.01% -0.1019 0.1123)
OKLCHoklch(60.01% 0.152 132.2)
XYZxyz(14.9669, 22.9423, 5.0783)
Luminance0.2294 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C9221 #572192
analogous
#929021 #5C9221 #239221
triadic
#5C9221 #215C92 #92215C
tetradic
#5C9221 #219290 #572192 #922123
square
#5C9221 #219290 #572192 #922123
split-complementary
#5C9221 #212392 #902192
monochromatic
#1D2E0A #3D6016 #5C9221 #7BC42C #9AD955

Accessibility & contrast

On white

3.76
#5C9221 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#5C9221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C9221
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C9221#FFFFFF#000000##000000
##5C92211.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#988606
Deuteranopia (green-blind)
#91822D
Tritanopia (blue-blind)
#5D8C7D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5c9221;
/* rgb */ color: rgb(92, 146, 33);
/* oklch */ color: oklch(60.0% 0.152 132.2);
Tailwind
colors: {
  custom: {
    50: '#8fb265',
    500: '#5c9221',
    950: '#000000',
  },
}
SCSS
$custom: #5c9221;
$custom-light: #8fb265;
$custom-dark: #000000;
JSON
{
  "hex": "#5c9221",
  "rgb": {
    "r": 92,
    "g": 146,
    "b": 33
  },
  "hsl": {
    "h": 88.673,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60006,
    "c": 0.15166,
    "h": 132.2
  },
  "luminance": 0.22943
}

Semantic roles & 50–950 ramp

primary
#5C9221
secondary
#8553BC
accent
#42E690
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5C9221

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

Preview Lab → · Contrast checker → · Palette generator →

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