#5D9017#5D9017

#5D9017 is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.5% C 0.154 H 130.9°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#5D9017
RGBrgb(93, 144, 23)
HSLhsl(85, 72%, 33%)
HSVhsv(85, 84%, 56%)
CMYKcmyk(35.4%, 0%, 84%, 43.5%)
CIE-LABlab(54.38, -35.33, 52.97)
CIE-LCHlch(54.38, 63.68, 123.70°)
OKLaboklab(59.49% -0.1006 0.116)
OKLCHoklch(59.49% 0.154 130.9)
XYZxyz(14.6420, 22.3350, 4.3501)
Luminance0.2234 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D9017 #4A1790
analogous
#908617 #5D9017 #219017
triadic
#5D9017 #175D90 #90175D
tetradic
#5D9017 #179086 #4A1790 #901721
square
#5D9017 #179086 #4A1790 #901721
split-complementary
#5D9017 #172190 #861790
monochromatic
#192606 #3B5B0F #5D9017 #7FC51F #9DE141

Accessibility & contrast

On white

3.84
#5D9017 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#5D9017 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D9017
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D9017#FFFFFF#000000##000000
##5D90171.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#908126
Tritanopia (blue-blind)
#5F8A7A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5d9017;
/* rgb */ color: rgb(93, 144, 23);
/* oklch */ color: oklch(59.5% 0.154 130.9);
Tailwind
colors: {
  custom: {
    50: '#90b161',
    500: '#5d9017',
    950: '#000000',
  },
}
SCSS
$custom: #5d9017;
$custom-light: #90b161;
$custom-dark: #000000;
JSON
{
  "hex": "#5d9017",
  "rgb": {
    "r": 93,
    "g": 144,
    "b": 23
  },
  "hsl": {
    "h": 85.289,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.59489,
    "c": 0.15356,
    "h": 130.9
  },
  "luminance": 0.22336
}

Semantic roles & 50–950 ramp

primary
#5D9017
secondary
#7742C1
accent
#39EF86
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5D9017

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

Preview Lab → · Contrast checker → · Palette generator →

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