#5D9916#5D9916

#5D9916 is a mid, vivid yellow-green. Relative luminance 0.252; OKLCH L 61.8% C 0.165 H 132.5°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#5D9916
RGBrgb(93, 153, 22)
HSLhsl(87, 75%, 34%)
HSVhsv(87, 86%, 60%)
CMYKcmyk(39.2%, 0%, 85.6%, 40%)
CIE-LABlab(57.24, -39.31, 55.76)
CIE-LCHlch(57.24, 68.23, 125.18°)
OKLaboklab(61.82% -0.1114 0.1218)
OKLCHoklch(61.82% 0.165 132.5)
XYZxyz(16.0501, 25.1668, 4.7709)
Luminance0.2517 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D9916 #521699
analogous
#999416 #5D9916 #1C9916
triadic
#5D9916 #165D99 #99165D
tetradic
#5D9916 #169994 #521699 #99161C
square
#5D9916 #169994 #521699 #99161C
split-complementary
#5D9916 #161C99 #941699
monochromatic
#1C2E07 #3C630E #5D9916 #7ECF1E #9BE445

Accessibility & contrast

On white

3.48
#5D9916 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#5D9916 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D9916
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D9916#FFFFFF#000000##000000
##5D99161.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08C00
Deuteranopia (green-blind)
#988827
Tritanopia (blue-blind)
#5E9282
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5d9916;
/* rgb */ color: rgb(93, 153, 22);
/* oklch */ color: oklch(61.8% 0.165 132.5);
Tailwind
colors: {
  custom: {
    50: '#91b762',
    500: '#5d9916',
    950: '#000000',
  },
}
SCSS
$custom: #5d9916;
$custom-light: #91b762;
$custom-dark: #000000;
JSON
{
  "hex": "#5d9916",
  "rgb": {
    "r": 93,
    "g": 153,
    "b": 22
  },
  "hsl": {
    "h": 87.481,
    "s": 74.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.61823,
    "c": 0.16502,
    "h": 132.5
  },
  "luminance": 0.25168
}

Semantic roles & 50–950 ramp

primary
#5D9916
secondary
#8046C5
accent
#36F18C
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5D9916

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

Preview Lab → · Contrast checker → · Palette generator →

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