#5D8320#5D8320

#5D8320 is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.2% C 0.132 H 128.6°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#5D8320
RGBrgb(93, 131, 32)
HSLhsl(83, 61%, 32%)
HSVhsv(83, 76%, 51%)
CMYKcmyk(29%, 0%, 75.6%, 48.6%)
CIE-LABlab(50.29, -28.84, 46.24)
CIE-LCHlch(50.29, 54.50, 121.95°)
OKLaboklab(56.17% -0.0824 0.1033)
OKLCHoklch(56.17% 0.132 128.6)
XYZxyz(12.8912, 18.6637, 4.2895)
Luminance0.1866 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8320 #462083
analogous
#837820 #5D8320 #2C8320
triadic
#5D8320 #205D83 #83205D
tetradic
#5D8320 #208378 #462083 #83202C
square
#5D8320 #208378 #462083 #83202C
split-complementary
#5D8320 #202C83 #782083
monochromatic
#172108 #3A5214 #5D8320 #80B42C #9FD34A

Accessibility & contrast

On white

4.44
#5D8320 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#5D8320 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8320
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8320#FFFFFF#000000##000000
##5D83201.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A790D
Deuteranopia (green-blind)
#847729
Tritanopia (blue-blind)
#607D70
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5d8320;
/* rgb */ color: rgb(93, 131, 32);
/* oklch */ color: oklch(56.2% 0.132 128.6);
Tailwind
colors: {
  custom: {
    50: '#8ea763',
    500: '#5d8320',
    950: '#000000',
  },
}
SCSS
$custom: #5d8320;
$custom-light: #8ea763;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8320",
  "rgb": {
    "r": 93,
    "g": 131,
    "b": 32
  },
  "hsl": {
    "h": 83.03,
    "s": 60.736,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56172,
    "c": 0.13216,
    "h": 128.6
  },
  "luminance": 0.18664
}

Semantic roles & 50–950 ramp

primary
#5D8320
secondary
#7349B6
accent
#44E481
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #5D8320

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

Preview Lab → · Contrast checker → · Palette generator →

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