#5D8719#5D8719

#5D8719 is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 57.2% C 0.141 H 129.1°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5D8719
RGBrgb(93, 135, 25)
HSLhsl(83, 69%, 31%)
HSVhsv(83, 81%, 53%)
CMYKcmyk(31.1%, 0%, 81.5%, 47.1%)
CIE-LABlab(51.52, -31.12, 49.81)
CIE-LCHlch(51.52, 58.73, 122.00°)
OKLaboklab(57.16% -0.0892 0.1096)
OKLCHoklch(57.16% 0.141 129.1)
XYZxyz(13.3536, 19.7249, 4.0232)
Luminance0.1973 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8719 #431987
analogous
#877A19 #5D8719 #268719
triadic
#5D8719 #195D87 #87195D
tetradic
#5D8719 #19877A #431987 #871926
square
#5D8719 #19877A #431987 #871926
split-complementary
#5D8719 #192687 #7A1987
monochromatic
#162006 #39530F #5D8719 #81BB23 #A0DB3F

Accessibility & contrast

On white

4.25
#5D8719 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#5D8719 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8719
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8719#FFFFFF#000000##000000
##5D87191.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d8719;
/* rgb */ color: rgb(93, 135, 25);
/* oklch */ color: oklch(57.2% 0.141 129.1);
Tailwind
colors: {
  custom: {
    50: '#8faa60',
    500: '#5d8719',
    950: '#000000',
  },
}
SCSS
$custom: #5d8719;
$custom-light: #8faa60;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8719",
  "rgb": {
    "r": 93,
    "g": 135,
    "b": 25
  },
  "hsl": {
    "h": 82.909,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.57163,
    "c": 0.1413,
    "h": 129.1
  },
  "luminance": 0.19725
}

Semantic roles & 50–950 ramp

primary
#5D8719
secondary
#7041BA
accent
#3CEC7F
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5D8719

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

Preview Lab → · Contrast checker → · Palette generator →

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