#5C8024#5C8024

#5C8024 is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 55.4% C 0.126 H 128.5°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#5C8024
RGBrgb(92, 128, 36)
HSLhsl(83, 56%, 32%)
HSVhsv(83, 72%, 50%)
CMYKcmyk(28.1%, 0%, 71.9%, 49.8%)
CIE-LABlab(49.30, -27.54, 43.67)
CIE-LCHlch(49.30, 51.62, 122.24°)
OKLaboklab(55.36% -0.0785 0.0986)
OKLCHoklch(55.36% 0.126 128.5)
XYZxyz(12.4512, 17.8407, 4.4563)
Luminance0.1784 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8024 #482480
analogous
#807624 #5C8024 #2E8024
triadic
#5C8024 #245C80 #80245C
tetradic
#5C8024 #248076 #482480 #80242E
square
#5C8024 #248076 #482480 #80242E
split-complementary
#5C8024 #242E80 #762480
monochromatic
#172009 #3A5017 #5C8024 #7EB031 #9DCE50

Accessibility & contrast

On white

4.60
#5C8024 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#5C8024 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5C8024
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8024#FFFFFF#000000##FFFFFF
##5C80241.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867715
Deuteranopia (green-blind)
#81742C
Tritanopia (blue-blind)
#5F7A6E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5c8024;
/* rgb */ color: rgb(92, 128, 36);
/* oklch */ color: oklch(55.4% 0.126 128.5);
Tailwind
colors: {
  custom: {
    50: '#8da565',
    500: '#5c8024',
    950: '#000000',
  },
}
SCSS
$custom: #5c8024;
$custom-light: #8da565;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8024",
  "rgb": {
    "r": 92,
    "g": 128,
    "b": 36
  },
  "hsl": {
    "h": 83.478,
    "s": 56.098,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55361,
    "c": 0.12598,
    "h": 128.5
  },
  "luminance": 0.17841
}

Semantic roles & 50–950 ramp

primary
#5C8024
secondary
#754EB2
accent
#48DF83
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #5C8024

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

Preview Lab → · Contrast checker → · Palette generator →

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