#5C8719#5C8719

#5C8719 is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 57.1% C 0.142 H 129.5°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#5C8719
RGBrgb(92, 135, 25)
HSLhsl(83, 69%, 31%)
HSVhsv(83, 81%, 53%)
CMYKcmyk(31.9%, 0%, 81.5%, 47.1%)
CIE-LABlab(51.47, -31.52, 49.73)
CIE-LCHlch(51.47, 58.88, 122.37°)
OKLaboklab(57.1% -0.0902 0.1095)
OKLCHoklch(57.1% 0.142 129.5)
XYZxyz(13.2530, 19.6730, 4.0185)
Luminance0.1967 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8719 #441987
analogous
#877B19 #5C8719 #258719
triadic
#5C8719 #195C87 #87195C
tetradic
#5C8719 #19877B #441987 #871925
square
#5C8719 #19877B #441987 #871925
split-complementary
#5C8719 #192587 #7B1987
monochromatic
#162006 #39530F #5C8719 #7FBB23 #9EDB3F

Accessibility & contrast

On white

4.26
#5C8719 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#5C8719 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8719
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8719#FFFFFF#000000##000000
##5C87191.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#887A25
Tritanopia (blue-blind)
#5F8173
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5c8719;
/* rgb */ color: rgb(92, 135, 25);
/* oklch */ color: oklch(57.1% 0.142 129.5);
Tailwind
colors: {
  custom: {
    50: '#8eaa60',
    500: '#5c8719',
    950: '#000000',
  },
}
SCSS
$custom: #5c8719;
$custom-light: #8eaa60;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8719",
  "rgb": {
    "r": 92,
    "g": 135,
    "b": 25
  },
  "hsl": {
    "h": 83.455,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.57099,
    "c": 0.14185,
    "h": 129.5
  },
  "luminance": 0.19673
}

Semantic roles & 50–950 ramp

primary
#5C8719
secondary
#7141BA
accent
#3CEC81
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5C8719

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

Preview Lab → · Contrast checker → · Palette generator →

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