#5D8518#5D8518

#5D8518 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#5D8518
RGBrgb(93, 133, 24)
HSLhsl(82, 69%, 31%)
HSVhsv(82, 82%, 52%)
CMYKcmyk(30.1%, 0%, 82%, 47.8%)
CIE-LABlab(50.88, -30.23, 49.53)
CIE-LCHlch(50.88, 58.03, 121.40°)
OKLaboklab(56.64% -0.0868 0.1089)
OKLCHoklch(56.64% 0.139 128.6)
XYZxyz(13.0666, 19.1678, 3.8753)
Luminance0.1917 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8518 #401885
analogous
#857618 #5D8518 #278518
triadic
#5D8518 #185D85 #85185D
tetradic
#5D8518 #188576 #401885 #851827
square
#5D8518 #188576 #401885 #851827
split-complementary
#5D8518 #182785 #761885
monochromatic
#141D05 #39510F #5D8518 #81B921 #A1DC3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D8518#FFFFFF#000000##000000
##5D85181.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)
#867824
Tritanopia (blue-blind)
#607F71
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5d8518;
/* rgb */ color: rgb(93, 133, 24);
/* oklch */ color: oklch(56.6% 0.139 128.6);
Tailwind
colors: {
  custom: {
    50: '#8fa860',
    500: '#5d8518',
    950: '#000000',
  },
}
SCSS
$custom: #5d8518;
$custom-light: #8fa860;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8518",
  "rgb": {
    "r": 93,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 82.018,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56639,
    "c": 0.13926,
    "h": 128.6
  },
  "luminance": 0.19168
}

Semantic roles & 50–950 ramp

primary
#5D8518
secondary
#6C40B9
accent
#3CEC7C
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5D8518

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

Preview Lab → · Contrast checker → · Palette generator →

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