#5D8720#5D8720

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

Color values

HEX#5D8720
RGBrgb(93, 135, 32)
HSLhsl(84, 62%, 33%)
HSVhsv(84, 76%, 53%)
CMYKcmyk(31.1%, 0%, 76.3%, 47.1%)
CIE-LABlab(51.56, -30.74, 47.48)
CIE-LCHlch(51.56, 56.57, 122.92°)
OKLaboklab(57.21% -0.0876 0.1059)
OKLCHoklch(57.21% 0.137 129.6)
XYZxyz(13.4388, 19.7590, 4.4720)
Luminance0.1976 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8720 #4A2087
analogous
#877D20 #5D8720 #298720
triadic
#5D8720 #205D87 #87205D
tetradic
#5D8720 #20877D #4A2087 #872029
square
#5D8720 #20877D #4A2087 #872029
split-complementary
#5D8720 #202987 #7D2087
monochromatic
#192409 #3B5614 #5D8720 #7FB82C #9DD54D

Accessibility & contrast

On white

4.24
#5D8720 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D8720#FFFFFF#000000##000000
##5D87201.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d8720;
/* rgb */ color: rgb(93, 135, 32);
/* oklch */ color: oklch(57.2% 0.137 129.6);
Tailwind
colors: {
  custom: {
    50: '#8faa63',
    500: '#5d8720',
    950: '#000000',
  },
}
SCSS
$custom: #5d8720;
$custom-light: #8faa63;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8720",
  "rgb": {
    "r": 93,
    "g": 135,
    "b": 32
  },
  "hsl": {
    "h": 84.466,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57207,
    "c": 0.13744,
    "h": 129.6
  },
  "luminance": 0.19759
}

Semantic roles & 50–950 ramp

primary
#5D8720
secondary
#774BB8
accent
#43E585
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D8720

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

Preview Lab → · Contrast checker → · Palette generator →

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