#5C8518#5C8518

#5C8518 is a mid, vivid yellow-green. Relative luminance 0.191; OKLCH L 56.6% C 0.140 H 128.9°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#5C8518
RGBrgb(92, 133, 24)
HSLhsl(83, 69%, 31%)
HSVhsv(83, 82%, 52%)
CMYKcmyk(30.8%, 0%, 82%, 47.8%)
CIE-LABlab(50.82, -30.64, 49.45)
CIE-LCHlch(50.82, 58.17, 121.78°)
OKLaboklab(56.57% -0.0878 0.1087)
OKLCHoklch(56.57% 0.14 128.9)
XYZxyz(12.9660, 19.1160, 3.8706)
Luminance0.1912 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8518 #411885
analogous
#857718 #5C8518 #258518
triadic
#5C8518 #185C85 #85185C
tetradic
#5C8518 #188577 #411885 #851825
square
#5C8518 #188577 #411885 #851825
split-complementary
#5C8518 #182585 #771885
monochromatic
#141D05 #38510F #5C8518 #80B921 #A0DC3C

Accessibility & contrast

On white

4.35
#5C8518 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#5C8518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8518
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8518#FFFFFF#000000##000000
##5C85181.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#867824
Tritanopia (blue-blind)
#5F7F71
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5c8518;
/* rgb */ color: rgb(92, 133, 24);
/* oklch */ color: oklch(56.6% 0.140 128.9);
Tailwind
colors: {
  custom: {
    50: '#8ea860',
    500: '#5c8518',
    950: '#000000',
  },
}
SCSS
$custom: #5c8518;
$custom-light: #8ea860;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8518",
  "rgb": {
    "r": 92,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 82.569,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56574,
    "c": 0.13978,
    "h": 128.9
  },
  "luminance": 0.19116
}

Semantic roles & 50–950 ramp

primary
#5C8518
secondary
#6D40B9
accent
#3CEC7E
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5C8518

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

Preview Lab → · Contrast checker → · Palette generator →

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