#5D8D1D#5D8D1D

#5D8D1D is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.7% C 0.147 H 130.7°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5D8D1D
RGBrgb(93, 141, 29)
HSLhsl(86, 66%, 33%)
HSVhsv(86, 79%, 55%)
CMYKcmyk(34%, 0%, 79.4%, 44.7%)
CIE-LABlab(53.45, -33.69, 50.33)
CIE-LCHlch(53.45, 60.56, 123.80°)
OKLaboklab(58.74% -0.0958 0.1114)
OKLCHoklch(58.74% 0.147 130.7)
XYZxyz(14.2608, 21.4651, 4.5540)
Luminance0.2147 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8D1D #4D1D8D
analogous
#8D851D #5D8D1D #258D1D
triadic
#5D8D1D #1D5D8D #8D1D5D
tetradic
#5D8D1D #1D8D85 #4D1D8D #8D1D25
square
#5D8D1D #1D8D85 #4D1D8D #8D1D25
split-complementary
#5D8D1D #1D258D #851D8D
monochromatic
#1A2708 #3C5A13 #5D8D1D #7EC027 #9CDA4B

Accessibility & contrast

On white

3.97
#5D8D1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#5D8D1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8D1D
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8D1D#FFFFFF#000000##000000
##5D8D1D1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8D7E29
Tritanopia (blue-blind)
#5F8778
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5d8d1d;
/* rgb */ color: rgb(93, 141, 29);
/* oklch */ color: oklch(58.7% 0.147 130.7);
Tailwind
colors: {
  custom: {
    50: '#8fae63',
    500: '#5d8d1d',
    950: '#000000',
  },
}
SCSS
$custom: #5d8d1d;
$custom-light: #8fae63;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8d1d",
  "rgb": {
    "r": 93,
    "g": 141,
    "b": 29
  },
  "hsl": {
    "h": 85.714,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58742,
    "c": 0.14691,
    "h": 130.7
  },
  "luminance": 0.21466
}

Semantic roles & 50–950 ramp

primary
#5D8D1D
secondary
#7B4ABC
accent
#3FE988
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D8D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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