#5D8F20#5D8F20

#5D8F20 is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.3% C 0.148 H 131.3°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#5D8F20
RGBrgb(93, 143, 32)
HSLhsl(87, 63%, 34%)
HSVhsv(87, 78%, 56%)
CMYKcmyk(35%, 0%, 77.6%, 43.9%)
CIE-LABlab(54.11, -34.43, 49.94)
CIE-LCHlch(54.11, 60.65, 124.58°)
OKLaboklab(59.28% -0.0976 0.111)
OKLCHoklch(59.28% 0.148 131.3)
XYZxyz(14.5972, 22.0758, 4.8582)
Luminance0.2208 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8F20 #52208F
analogous
#8F8A20 #5D8F20 #268F20
triadic
#5D8F20 #205D8F #8F205D
tetradic
#5D8F20 #208F8A #52208F #8F2026
square
#5D8F20 #208F8A #52208F #8F2026
split-complementary
#5D8F20 #20268F #8A208F
monochromatic
#1C2B0A #3C5D15 #5D8F20 #7EC12B #9BD851

Accessibility & contrast

On white

3.88
#5D8F20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#5D8F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8F20
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8F20#FFFFFF#000000##000000
##5D8F201.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968405
Deuteranopia (green-blind)
#8F802B
Tritanopia (blue-blind)
#5F897A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5d8f20;
/* rgb */ color: rgb(93, 143, 32);
/* oklch */ color: oklch(59.3% 0.148 131.3);
Tailwind
colors: {
  custom: {
    50: '#8fb065',
    500: '#5d8f20',
    950: '#000000',
  },
}
SCSS
$custom: #5d8f20;
$custom-light: #8fb065;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8f20",
  "rgb": {
    "r": 93,
    "g": 143,
    "b": 32
  },
  "hsl": {
    "h": 87.027,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5928,
    "c": 0.14783,
    "h": 131.3
  },
  "luminance": 0.22076
}

Semantic roles & 50–950 ramp

primary
#5D8F20
secondary
#804FBB
accent
#41E68C
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D8F20

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

Preview Lab → · Contrast checker → · Palette generator →

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