#5C8D15#5C8D15

#5C8D15 is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.6% C 0.151 H 130.6°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#5C8D15
RGBrgb(92, 141, 21)
HSLhsl(85, 74%, 32%)
HSVhsv(85, 85%, 55%)
CMYKcmyk(34.8%, 0%, 85.1%, 44.7%)
CIE-LABlab(53.36, -34.45, 52.58)
CIE-LCHlch(53.36, 62.86, 123.23°)
OKLaboklab(58.64% -0.0983 0.1149)
OKLCHoklch(58.64% 0.151 130.6)
XYZxyz(14.0738, 21.3787, 4.0943)
Luminance0.2138 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8D15 #46158D
analogous
#8D8215 #5C8D15 #208D15
triadic
#5C8D15 #155C8D #8D155C
tetradic
#5C8D15 #158D82 #46158D #8D1520
square
#5C8D15 #158D82 #46158D #8D1520
split-complementary
#5C8D15 #15208D #82158D
monochromatic
#162205 #39580D #5C8D15 #7FC21D #9EE23B

Accessibility & contrast

On white

3.98
#5C8D15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#5C8D15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8D15
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8D15#FFFFFF#000000##000000
##5C8D151.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8D7E24
Tritanopia (blue-blind)
#5E8778
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5c8d15;
/* rgb */ color: rgb(92, 141, 21);
/* oklch */ color: oklch(58.6% 0.151 130.6);
Tailwind
colors: {
  custom: {
    50: '#8fae60',
    500: '#5c8d15',
    950: '#000000',
  },
}
SCSS
$custom: #5c8d15;
$custom-light: #8fae60;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8d15",
  "rgb": {
    "r": 92,
    "g": 141,
    "b": 21
  },
  "hsl": {
    "h": 84.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.58639,
    "c": 0.15122,
    "h": 130.6
  },
  "luminance": 0.21379
}

Semantic roles & 50–950 ramp

primary
#5C8D15
secondary
#733DC1
accent
#37F183
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D1005
muted
#7E7F79

Preview Lab

Preview with #5C8D15

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

Preview Lab → · Contrast checker → · Palette generator →

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