#5D9520#5D9520

#5D9520 is a mid, vivid yellow-green. Relative luminance 0.239; OKLCH L 60.8% C 0.155 H 132.4°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#5D9520
RGBrgb(93, 149, 32)
HSLhsl(89, 65%, 35%)
HSVhsv(89, 79%, 58%)
CMYKcmyk(37.6%, 0%, 78.5%, 41.6%)
CIE-LABlab(56.01, -37.10, 51.75)
CIE-LCHlch(56.01, 63.68, 125.64°)
OKLaboklab(60.84% -0.1048 0.1149)
OKLCHoklch(60.84% 0.155 132.4)
XYZxyz(15.5222, 23.9257, 5.1665)
Luminance0.2393 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D9520 #582095
analogous
#959220 #5D9520 #229520
triadic
#5D9520 #205D95 #95205D
tetradic
#5D9520 #209592 #582095 #952022
square
#5D9520 #209592 #582095 #952022
split-complementary
#5D9520 #202295 #922095
monochromatic
#1E300A #3E6315 #5D9520 #7CC72B #9BDA55

Accessibility & contrast

On white

3.63
#5D9520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#5D9520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D9520
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D9520#FFFFFF#000000##000000
##5D95201.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8901
Deuteranopia (green-blind)
#94852C
Tritanopia (blue-blind)
#5E8F7F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5d9520;
/* rgb */ color: rgb(93, 149, 32);
/* oklch */ color: oklch(60.8% 0.155 132.4);
Tailwind
colors: {
  custom: {
    50: '#90b465',
    500: '#5d9520',
    950: '#000000',
  },
}
SCSS
$custom: #5d9520;
$custom-light: #90b465;
$custom-dark: #000000;
JSON
{
  "hex": "#5d9520",
  "rgb": {
    "r": 93,
    "g": 149,
    "b": 32
  },
  "hsl": {
    "h": 88.718,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60836,
    "c": 0.15549,
    "h": 132.4
  },
  "luminance": 0.23926
}

Semantic roles & 50–950 ramp

primary
#5D9520
secondary
#8653BE
accent
#40E890
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5D9520

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

Preview Lab → · Contrast checker → · Palette generator →

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