#5D8A20#5D8A20

#5D8A20 is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 58.0% C 0.141 H 130.3°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5D8A20
RGBrgb(93, 138, 32)
HSLhsl(85, 62%, 33%)
HSVhsv(85, 77%, 54%)
CMYKcmyk(32.6%, 0%, 76.8%, 45.9%)
CIE-LABlab(52.52, -32.14, 48.41)
CIE-LCHlch(52.52, 58.11, 123.58°)
OKLaboklab(57.98% -0.0914 0.1078)
OKLCHoklch(57.98% 0.141 130.3)
XYZxyz(13.8633, 20.6079, 4.6135)
Luminance0.2061 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8A20 #4D208A
analogous
#8A8220 #5D8A20 #288A20
triadic
#5D8A20 #205D8A #8A205D
tetradic
#5D8A20 #208A82 #4D208A #8A2028
square
#5D8A20 #208A82 #4D208A #8A2028
split-complementary
#5D8A20 #20288A #82208A
monochromatic
#1A2709 #3C5814 #5D8A20 #7EBC2C #9CD64E

Accessibility & contrast

On white

4.10
#5D8A20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#5D8A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8A20
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8A20#FFFFFF#000000##000000
##5D8A201.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F08
Deuteranopia (green-blind)
#8A7C2A
Tritanopia (blue-blind)
#5F8476
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5d8a20;
/* rgb */ color: rgb(93, 138, 32);
/* oklch */ color: oklch(58.0% 0.141 130.3);
Tailwind
colors: {
  custom: {
    50: '#8fac64',
    500: '#5d8a20',
    950: '#000000',
  },
}
SCSS
$custom: #5d8a20;
$custom-light: #8fac64;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8a20",
  "rgb": {
    "r": 93,
    "g": 138,
    "b": 32
  },
  "hsl": {
    "h": 85.472,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57984,
    "c": 0.14136,
    "h": 130.3
  },
  "luminance": 0.20608
}

Semantic roles & 50–950 ramp

primary
#5D8A20
secondary
#7B4DB9
accent
#42E588
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D8A20

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

Preview Lab → · Contrast checker → · Palette generator →

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