#5D8519#5D8519

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

Color values

HEX#5D8519
RGBrgb(93, 133, 25)
HSLhsl(82, 68%, 31%)
HSVhsv(82, 81%, 52%)
CMYKcmyk(30.1%, 0%, 81.2%, 47.8%)
CIE-LABlab(50.89, -30.19, 49.22)
CIE-LCHlch(50.89, 57.74, 121.52°)
OKLaboklab(56.65% -0.0866 0.1084)
OKLCHoklch(56.65% 0.139 128.6)
XYZxyz(13.0772, 19.1721, 3.9311)
Luminance0.1917 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8519 #411985
analogous
#857719 #5D8519 #278519
triadic
#5D8519 #195D85 #85195D
tetradic
#5D8519 #198577 #411985 #851927
square
#5D8519 #198577 #411985 #851927
split-complementary
#5D8519 #192785 #771985
monochromatic
#151E06 #39510F #5D8519 #81B923 #A1DB3E

Accessibility & contrast

On white

4.34
#5D8519 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#5D8519 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8519
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8519#FFFFFF#000000##000000
##5D85191.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#867825
Tritanopia (blue-blind)
#607F71
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5d8519;
/* rgb */ color: rgb(93, 133, 25);
/* oklch */ color: oklch(56.6% 0.139 128.6);
Tailwind
colors: {
  custom: {
    50: '#8fa860',
    500: '#5d8519',
    950: '#000000',
  },
}
SCSS
$custom: #5d8519;
$custom-light: #8fa860;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8519",
  "rgb": {
    "r": 93,
    "g": 133,
    "b": 25
  },
  "hsl": {
    "h": 82.222,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.56645,
    "c": 0.13875,
    "h": 128.6
  },
  "luminance": 0.19172
}

Semantic roles & 50–950 ramp

primary
#5D8519
secondary
#6D41B9
accent
#3DEB7D
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5D8519

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

Preview Lab → · Contrast checker → · Palette generator →

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