#5C8519#5C8519

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

Color values

HEX#5C8519
RGBrgb(92, 133, 25)
HSLhsl(83, 68%, 31%)
HSVhsv(83, 81%, 52%)
CMYKcmyk(30.8%, 0%, 81.2%, 47.8%)
CIE-LABlab(50.83, -30.59, 49.14)
CIE-LCHlch(50.83, 57.89, 121.90°)
OKLaboklab(56.58% -0.0876 0.1083)
OKLCHoklch(56.58% 0.139 129)
XYZxyz(12.9766, 19.1202, 3.9264)
Luminance0.1912 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8519 #421985
analogous
#857819 #5C8519 #268519
triadic
#5C8519 #195C85 #85195C
tetradic
#5C8519 #198578 #421985 #851926
square
#5C8519 #198578 #421985 #851926
split-complementary
#5C8519 #192685 #781985
monochromatic
#151E06 #38510F #5C8519 #80B923 #9FDB3E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C8519#FFFFFF#000000##000000
##5C85191.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)
#867825
Tritanopia (blue-blind)
#5F7F71
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5c8519;
/* rgb */ color: rgb(92, 133, 25);
/* oklch */ color: oklch(56.6% 0.139 129.0);
Tailwind
colors: {
  custom: {
    50: '#8ea860',
    500: '#5c8519',
    950: '#000000',
  },
}
SCSS
$custom: #5c8519;
$custom-light: #8ea860;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8519",
  "rgb": {
    "r": 92,
    "g": 133,
    "b": 25
  },
  "hsl": {
    "h": 82.778,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.56579,
    "c": 0.13929,
    "h": 129
  },
  "luminance": 0.19121
}

Semantic roles & 50–950 ramp

primary
#5C8519
secondary
#6F41B9
accent
#3DEB7F
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5C8519

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

Preview Lab → · Contrast checker → · Palette generator →

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