#5D8013#5D8013

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

Color values

HEX#5D8013
RGBrgb(93, 128, 19)
HSLhsl(79, 74%, 29%)
HSVhsv(79, 85%, 50%)
CMYKcmyk(27.3%, 0%, 85.2%, 49.8%)
CIE-LABlab(49.27, -28.07, 49.53)
CIE-LCHlch(49.27, 56.93, 119.54°)
OKLaboklab(55.32% -0.0813 0.108)
OKLCHoklch(55.32% 0.135 127)
XYZxyz(12.3510, 17.8123, 3.4034)
Luminance0.1781 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8013 #361380
analogous
#806D13 #5D8013 #278013
triadic
#5D8013 #135D80 #80135D
tetradic
#5D8013 #13806D #361380 #801327
square
#5D8013 #13806D #361380 #801327
split-complementary
#5D8013 #132780 #6D1380
monochromatic
#131B04 #364B0B #5D8013 #84B51B #A7E02D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D8013#FFFFFF#000000##FFFFFF
##5D80131.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)
#827420
Tritanopia (blue-blind)
#617A6D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5d8013;
/* rgb */ color: rgb(93, 128, 19);
/* oklch */ color: oklch(55.3% 0.135 127.0);
Tailwind
colors: {
  custom: {
    50: '#8fa55d',
    500: '#5d8013',
    950: '#000000',
  },
}
SCSS
$custom: #5d8013;
$custom-light: #8fa55d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8013",
  "rgb": {
    "r": 93,
    "g": 128,
    "b": 19
  },
  "hsl": {
    "h": 79.266,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.55318,
    "c": 0.13522,
    "h": 127
  },
  "luminance": 0.17813
}

Semantic roles & 50–950 ramp

primary
#5D8013
secondary
#6139B5
accent
#37F173
background
#F9FAF5
surface
#F1F4E9
border
#CBCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5D8013

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

Preview Lab → · Contrast checker → · Palette generator →

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