#5D8820#5D8820

#5D8820 is a mid, vivid yellow-green. Relative luminance 0.200; OKLCH L 57.5% C 0.139 H 129.8°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#5D8820
RGBrgb(93, 136, 32)
HSLhsl(85, 62%, 33%)
HSVhsv(85, 76%, 53%)
CMYKcmyk(31.6%, 0%, 76.5%, 46.7%)
CIE-LABlab(51.88, -31.21, 47.79)
CIE-LCHlch(51.88, 57.08, 123.14°)
OKLaboklab(57.47% -0.0889 0.1066)
OKLCHoklch(57.47% 0.139 129.8)
XYZxyz(13.5790, 20.0393, 4.5188)
Luminance0.2004 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8820 #4B2088
analogous
#887F20 #5D8820 #298820
triadic
#5D8820 #205D88 #88205D
tetradic
#5D8820 #20887F #4B2088 #882029
square
#5D8820 #20887F #4B2088 #882029
split-complementary
#5D8820 #202988 #7F2088
monochromatic
#192509 #3B5614 #5D8820 #7FBA2C #9DD54D

Accessibility & contrast

On white

4.19
#5D8820 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#5D8820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8820
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8820#FFFFFF#000000##000000
##5D88201.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E0A
Deuteranopia (green-blind)
#897B2A
Tritanopia (blue-blind)
#608274
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5d8820;
/* rgb */ color: rgb(93, 136, 32);
/* oklch */ color: oklch(57.5% 0.139 129.8);
Tailwind
colors: {
  custom: {
    50: '#8fab64',
    500: '#5d8820',
    950: '#000000',
  },
}
SCSS
$custom: #5d8820;
$custom-light: #8fab64;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8820",
  "rgb": {
    "r": 93,
    "g": 136,
    "b": 32
  },
  "hsl": {
    "h": 84.808,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57466,
    "c": 0.13875,
    "h": 129.8
  },
  "luminance": 0.2004
}

Semantic roles & 50–950 ramp

primary
#5D8820
secondary
#794CB8
accent
#43E586
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D8820

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

Preview Lab → · Contrast checker → · Palette generator →

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