#5C8D24#5C8D24

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

Color values

HEX#5C8D24
RGBrgb(92, 141, 36)
HSLhsl(88, 59%, 35%)
HSVhsv(88, 74%, 55%)
CMYKcmyk(34.8%, 0%, 74.5%, 44.7%)
CIE-LABlab(53.44, -33.65, 47.83)
CIE-LCHlch(53.44, 58.48, 125.13°)
OKLaboklab(58.73% -0.0951 0.1073)
OKLCHoklch(58.73% 0.143 131.6)
XYZxyz(14.2568, 21.4519, 5.0582)
Luminance0.2145 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8D24 #55248D
analogous
#8D8A24 #5C8D24 #288D24
triadic
#5C8D24 #245C8D #8D245C
tetradic
#5C8D24 #248D8A #55248D #8D2428
square
#5C8D24 #248D8A #55248D #8D2428
split-complementary
#5C8D24 #24288D #8A248D
monochromatic
#1C2B0B #3C5C18 #5C8D24 #7CBE30 #9AD457

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C8D24#FFFFFF#000000##000000
##5C8D241.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)
#938210
Deuteranopia (green-blind)
#8D7E2E
Tritanopia (blue-blind)
#5E8779
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5c8d24;
/* rgb */ color: rgb(92, 141, 36);
/* oklch */ color: oklch(58.7% 0.143 131.6);
Tailwind
colors: {
  custom: {
    50: '#8eae66',
    500: '#5c8d24',
    950: '#000000',
  },
}
SCSS
$custom: #5c8d24;
$custom-light: #8eae66;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8d24",
  "rgb": {
    "r": 92,
    "g": 141,
    "b": 36
  },
  "hsl": {
    "h": 88,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58729,
    "c": 0.14338,
    "h": 131.6
  },
  "luminance": 0.21452
}

Semantic roles & 50–950 ramp

primary
#5C8D24
secondary
#8354B8
accent
#45E38F
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8D24

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

Preview Lab → · Contrast checker → · Palette generator →

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