#5D9F20#5D9F20

#5D9F20 is a light, vivid yellow-green. Relative luminance 0.272; OKLCH L 63.4% C 0.168 H 133.9°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#5D9F20
RGBrgb(93, 159, 32)
HSLhsl(91, 66%, 37%)
HSVhsv(91, 80%, 62%)
CMYKcmyk(41.5%, 0%, 79.9%, 37.6%)
CIE-LABlab(59.18, -41.40, 54.74)
CIE-LCHlch(59.18, 68.63, 127.10°)
OKLaboklab(63.43% -0.1164 0.1211)
OKLCHoklch(63.43% 0.168 133.9)
XYZxyz(17.1727, 27.2268, 5.7167)
Luminance0.2723 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D9F20 #62209F
analogous
#9D9F20 #5D9F20 #209F22
triadic
#5D9F20 #205D9F #9F205D
tetradic
#5D9F20 #209D9F #62209F #9F2220
square
#5D9F20 #209D9F #62209F #9F2220
split-complementary
#5D9F20 #22209F #9F209D
monochromatic
#21390B #3F6C16 #5D9F20 #7BD22A #9ADE5B

Accessibility & contrast

On white

3.26
#5D9F20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#5D9F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D9F20
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D9F20#FFFFFF#000000##000000
##5D9F201.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59200
Deuteranopia (green-blind)
#9D8D2E
Tritanopia (blue-blind)
#5D9988
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5d9f20;
/* rgb */ color: rgb(93, 159, 32);
/* oklch */ color: oklch(63.4% 0.168 133.9);
Tailwind
colors: {
  custom: {
    50: '#91bc67',
    500: '#5d9f20',
    950: '#000000',
  },
}
SCSS
$custom: #5d9f20;
$custom-light: #91bc67;
$custom-dark: #000000;
JSON
{
  "hex": "#5d9f20",
  "rgb": {
    "r": 93,
    "g": 159,
    "b": 32
  },
  "hsl": {
    "h": 91.181,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.63431,
    "c": 0.16799,
    "h": 133.9
  },
  "luminance": 0.27228
}

Semantic roles & 50–950 ramp

primary
#5D9F20
secondary
#8F59C2
accent
#3EE997
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5D9F20

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

Preview Lab → · Contrast checker → · Palette generator →

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