#5D9D20#5D9D20

#5D9D20 is a light, vivid yellow-green. Relative luminance 0.265; OKLCH L 62.9% C 0.166 H 133.6°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#5D9D20
RGBrgb(93, 157, 32)
HSLhsl(91, 66%, 37%)
HSVhsv(91, 80%, 62%)
CMYKcmyk(40.8%, 0%, 79.6%, 38.4%)
CIE-LABlab(58.55, -40.56, 54.14)
CIE-LCHlch(58.55, 67.65, 126.84°)
OKLaboklab(62.91% -0.1141 0.1199)
OKLCHoklch(62.91% 0.166 133.6)
XYZxyz(16.8316, 26.5445, 5.6030)
Luminance0.2655 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D9D20 #60209D
analogous
#9C9D20 #5D9D20 #209D21
triadic
#5D9D20 #205D9D #9D205D
tetradic
#5D9D20 #209C9D #60209D #9D2120
square
#5D9D20 #209C9D #60209D #9D2120
split-complementary
#5D9D20 #21209D #9D209C
monochromatic
#21370B #3F6A16 #5D9D20 #7BD02A #9ADD5A

Accessibility & contrast

On white

3.33
#5D9D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#5D9D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D9D20
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D9D20#FFFFFF#000000##000000
##5D9D201.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39000
Deuteranopia (green-blind)
#9B8B2E
Tritanopia (blue-blind)
#5D9786
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5d9d20;
/* rgb */ color: rgb(93, 157, 32);
/* oklch */ color: oklch(62.9% 0.166 133.6);
Tailwind
colors: {
  custom: {
    50: '#91ba66',
    500: '#5d9d20',
    950: '#000000',
  },
}
SCSS
$custom: #5d9d20;
$custom-light: #91ba66;
$custom-dark: #000000;
JSON
{
  "hex": "#5d9d20",
  "rgb": {
    "r": 93,
    "g": 157,
    "b": 32
  },
  "hsl": {
    "h": 90.72,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.62912,
    "c": 0.16552,
    "h": 133.6
  },
  "luminance": 0.26545
}

Semantic roles & 50–950 ramp

primary
#5D9D20
secondary
#8E57C1
accent
#3FE996
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5D9D20

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

Preview Lab → · Contrast checker → · Palette generator →

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