#5D8620#5D8620

#5D8620 is a mid, vivid yellow-green. Relative luminance 0.195; OKLCH L 56.9% C 0.136 H 129.4°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#5D8620
RGBrgb(93, 134, 32)
HSLhsl(84, 61%, 33%)
HSVhsv(84, 76%, 53%)
CMYKcmyk(30.6%, 0%, 76.1%, 47.5%)
CIE-LABlab(51.25, -30.27, 47.18)
CIE-LCHlch(51.25, 56.05, 122.69°)
OKLaboklab(56.95% -0.0863 0.1053)
OKLCHoklch(56.95% 0.136 129.4)
XYZxyz(13.3000, 19.4813, 4.4257)
Luminance0.1948 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8620 #492086
analogous
#867C20 #5D8620 #2A8620
triadic
#5D8620 #205D86 #86205D
tetradic
#5D8620 #20867C #492086 #86202A
square
#5D8620 #20867C #492086 #86202A
split-complementary
#5D8620 #202A86 #7C2086
monochromatic
#182308 #3B5514 #5D8620 #7FB72C #9ED44C

Accessibility & contrast

On white

4.29
#5D8620 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#5D8620 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8620
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8620#FFFFFF#000000##000000
##5D86201.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C0B
Deuteranopia (green-blind)
#87792A
Tritanopia (blue-blind)
#608072
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5d8620;
/* rgb */ color: rgb(93, 134, 32);
/* oklch */ color: oklch(56.9% 0.136 129.4);
Tailwind
colors: {
  custom: {
    50: '#8fa963',
    500: '#5d8620',
    950: '#000000',
  },
}
SCSS
$custom: #5d8620;
$custom-light: #8fa963;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8620",
  "rgb": {
    "r": 93,
    "g": 134,
    "b": 32
  },
  "hsl": {
    "h": 84.118,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56948,
    "c": 0.13612,
    "h": 129.4
  },
  "luminance": 0.19482
}

Semantic roles & 50–950 ramp

primary
#5D8620
secondary
#764BB7
accent
#43E584
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D8620

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

Preview Lab → · Contrast checker → · Palette generator →

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