#5D9937#5D9937

#5D9937 is a light, vivid yellow-green. Relative luminance 0.254; OKLCH L 62.1% C 0.145 H 135.3°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#5D9937
RGBrgb(93, 153, 55)
HSLhsl(97, 47%, 41%)
HSVhsv(97, 64%, 60%)
CMYKcmyk(39.2%, 0%, 64.1%, 40%)
CIE-LABlab(57.45, -37.13, 44.15)
CIE-LCHlch(57.45, 57.69, 130.07°)
OKLaboklab(62.06% -0.1031 0.1021)
OKLCHoklch(62.06% 0.145 135.3)
XYZxyz(16.5946, 25.3846, 7.6390)
Luminance0.2539 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D9937 #733799
analogous
#8E9937 #5D9937 #379942
triadic
#5D9937 #375D99 #99375D
tetradic
#5D9937 #378E99 #733799 #994237
square
#5D9937 #378E99 #733799 #994237
split-complementary
#5D9937 #423799 #99378E
monochromatic
#263F17 #426C27 #5D9937 #7ABF4E #9CD07B

Accessibility & contrast

On white

3.46
#5D9937 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#5D9937 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D9937
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D9937#FFFFFF#000000##000000
##5D99371.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8D2B
Deuteranopia (green-blind)
#96883F
Tritanopia (blue-blind)
#5C9384
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5d9937;
/* rgb */ color: rgb(93, 153, 55);
/* oklch */ color: oklch(62.1% 0.145 135.3);
Tailwind
colors: {
  custom: {
    50: '#8fb772',
    500: '#5d9937',
    950: '#000000',
  },
}
SCSS
$custom: #5d9937;
$custom-light: #8fb772;
$custom-dark: #000000;
JSON
{
  "hex": "#5d9937",
  "rgb": {
    "r": 93,
    "g": 153,
    "b": 55
  },
  "hsl": {
    "h": 96.735,
    "s": 47.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.62063,
    "c": 0.14516,
    "h": 135.3
  },
  "luminance": 0.25385
}

Semantic roles & 50–950 ramp

primary
#5D9937
secondary
#9E73B9
accent
#51D7A3
background
#F9FBF7
surface
#F1F6ED
border
#CBD0C8
text
#0D1108
muted
#7E807B

Preview Lab

Preview with #5D9937

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

Preview Lab → · Contrast checker → · Palette generator →

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