#5D8520#5D8520

#5D8520 is a mid, vivid yellow-green. Relative luminance 0.192; OKLCH L 56.7% C 0.135 H 129.1°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#5D8520
RGBrgb(93, 133, 32)
HSLhsl(84, 61%, 32%)
HSVhsv(84, 76%, 52%)
CMYKcmyk(30.1%, 0%, 75.9%, 47.8%)
CIE-LABlab(50.93, -29.80, 46.86)
CIE-LCHlch(50.93, 55.54, 122.45°)
OKLaboklab(56.69% -0.085 0.1046)
OKLCHoklch(56.69% 0.135 129.1)
XYZxyz(13.1624, 19.2061, 4.3799)
Luminance0.1921 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8520 #482085
analogous
#857A20 #5D8520 #2B8520
triadic
#5D8520 #205D85 #85205D
tetradic
#5D8520 #20857A #482085 #85202B
square
#5D8520 #20857A #482085 #85202B
split-complementary
#5D8520 #202B85 #7A2085
monochromatic
#182208 #3B5414 #5D8520 #7FB62C #9ED44C

Accessibility & contrast

On white

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

On black

4.84
#5D8520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8520
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8520#FFFFFF#000000##000000
##5D85201.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B0B
Deuteranopia (green-blind)
#86782A
Tritanopia (blue-blind)
#607F72
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5d8520;
/* rgb */ color: rgb(93, 133, 32);
/* oklch */ color: oklch(56.7% 0.135 129.1);
Tailwind
colors: {
  custom: {
    50: '#8fa863',
    500: '#5d8520',
    950: '#000000',
  },
}
SCSS
$custom: #5d8520;
$custom-light: #8fa863;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8520",
  "rgb": {
    "r": 93,
    "g": 133,
    "b": 32
  },
  "hsl": {
    "h": 83.762,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56689,
    "c": 0.1348,
    "h": 129.1
  },
  "luminance": 0.19206
}

Semantic roles & 50–950 ramp

primary
#5D8520
secondary
#754AB7
accent
#43E483
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #5D8520

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

Preview Lab → · Contrast checker → · Palette generator →

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