#5D8015#5D8015

#5D8015 is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 55.3% C 0.134 H 127.1°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#5D8015
RGBrgb(93, 128, 21)
HSLhsl(80, 72%, 29%)
HSVhsv(80, 84%, 50%)
CMYKcmyk(27.3%, 0%, 83.6%, 49.8%)
CIE-LABlab(49.28, -27.99, 48.97)
CIE-LCHlch(49.28, 56.40, 119.75°)
OKLaboklab(55.33% -0.0809 0.1072)
OKLCHoklch(55.33% 0.134 127.1)
XYZxyz(12.3688, 17.8194, 3.4972)
Luminance0.1782 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8015 #381580
analogous
#806E15 #5D8015 #288015
triadic
#5D8015 #155D80 #80155D
tetradic
#5D8015 #15806E #381580 #801528
square
#5D8015 #15806E #381580 #801528
split-complementary
#5D8015 #152880 #6E1580
monochromatic
#131A04 #374B0C #5D8015 #83B51E #A5DD32

Accessibility & contrast

On white

4.60
#5D8015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#5D8015 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5D8015
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8015#FFFFFF#000000##FFFFFF
##5D80151.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#827421
Tritanopia (blue-blind)
#617A6D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5d8015;
/* rgb */ color: rgb(93, 128, 21);
/* oklch */ color: oklch(55.3% 0.134 127.1);
Tailwind
colors: {
  custom: {
    50: '#8fa55e',
    500: '#5d8015',
    950: '#000000',
  },
}
SCSS
$custom: #5d8015;
$custom-light: #8fa55e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8015",
  "rgb": {
    "r": 93,
    "g": 128,
    "b": 21
  },
  "hsl": {
    "h": 79.626,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.55328,
    "c": 0.13432,
    "h": 127.1
  },
  "luminance": 0.1782
}

Semantic roles & 50–950 ramp

primary
#5D8015
secondary
#633CB5
accent
#39EF75
background
#F9FAF5
surface
#F1F4E9
border
#CBCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5D8015

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

Preview Lab → · Contrast checker → · Palette generator →

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