#5C8D22#5C8D22

#5C8D22 is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.7% C 0.145 H 131.4°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5C8D22
RGBrgb(92, 141, 34)
HSLhsl(87, 61%, 34%)
HSVhsv(87, 76%, 55%)
CMYKcmyk(34.8%, 0%, 75.9%, 44.7%)
CIE-LABlab(53.43, -33.78, 48.56)
CIE-LCHlch(53.43, 59.15, 124.83°)
OKLaboklab(58.71% -0.0956 0.1085)
OKLCHoklch(58.71% 0.145 131.4)
XYZxyz(14.2271, 21.4400, 4.9018)
Luminance0.2144 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8D22 #53228D
analogous
#8D8922 #5C8D22 #268D22
triadic
#5C8D22 #225C8D #8D225C
tetradic
#5C8D22 #228D89 #53228D #8D2226
square
#5C8D22 #228D89 #53228D #8D2226
split-complementary
#5C8D22 #22268D #89228D
monochromatic
#1C2A0A #3C5C16 #5C8D22 #7CBE2E #9AD654

Accessibility & contrast

On white

3.97
#5C8D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#5C8D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8D22
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8D22#FFFFFF#000000##000000
##5C8D221.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#93820C
Deuteranopia (green-blind)
#8D7E2C
Tritanopia (blue-blind)
#5E8779
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5c8d22;
/* rgb */ color: rgb(92, 141, 34);
/* oklch */ color: oklch(58.7% 0.145 131.4);
Tailwind
colors: {
  custom: {
    50: '#8eae65',
    500: '#5c8d22',
    950: '#000000',
  },
}
SCSS
$custom: #5c8d22;
$custom-light: #8eae65;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8d22",
  "rgb": {
    "r": 92,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 87.477,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58714,
    "c": 0.14461,
    "h": 131.4
  },
  "luminance": 0.21441
}

Semantic roles & 50–950 ramp

primary
#5C8D22
secondary
#8151B9
accent
#44E48D
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8D22

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

Preview Lab → · Contrast checker → · Palette generator →

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