#5C8B24#5C8B24

#5C8B24 is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.2% C 0.141 H 131.2°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5C8B24
RGBrgb(92, 139, 36)
HSLhsl(87, 59%, 34%)
HSVhsv(87, 74%, 55%)
CMYKcmyk(33.8%, 0%, 74.1%, 45.5%)
CIE-LABlab(52.80, -32.73, 47.20)
CIE-LCHlch(52.80, 57.44, 124.74°)
OKLaboklab(58.21% -0.0926 0.106)
OKLCHoklch(58.21% 0.141 131.2)
XYZxyz(13.9646, 20.8674, 4.9608)
Luminance0.2087 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8B24 #53248B
analogous
#8B8724 #5C8B24 #288B24
triadic
#5C8B24 #245C8B #8B245C
tetradic
#5C8B24 #248B87 #53248B #8B2428
square
#5C8B24 #248B87 #53248B #8B2428
split-complementary
#5C8B24 #24288B #87248B
monochromatic
#1C2A0B #3C5A17 #5C8B24 #7CBC31 #9AD356

Accessibility & contrast

On white

4.06
#5C8B24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#5C8B24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8B24
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8B24#FFFFFF#000000##000000
##5C8B241.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#918011
Deuteranopia (green-blind)
#8B7D2E
Tritanopia (blue-blind)
#5E8577
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5c8b24;
/* rgb */ color: rgb(92, 139, 36);
/* oklch */ color: oklch(58.2% 0.141 131.2);
Tailwind
colors: {
  custom: {
    50: '#8ead66',
    500: '#5c8b24',
    950: '#000000',
  },
}
SCSS
$custom: #5c8b24;
$custom-light: #8ead66;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8b24",
  "rgb": {
    "r": 92,
    "g": 139,
    "b": 36
  },
  "hsl": {
    "h": 87.379,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5821,
    "c": 0.14073,
    "h": 131.2
  },
  "luminance": 0.20868
}

Semantic roles & 50–950 ramp

primary
#5C8B24
secondary
#8153B7
accent
#46E28D
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8B24

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

Preview Lab → · Contrast checker → · Palette generator →

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