#5D8316#5D8316

#5D8316 is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 56.1% C 0.138 H 127.9°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#5D8316
RGBrgb(93, 131, 22)
HSLhsl(81, 71%, 30%)
HSVhsv(81, 83%, 51%)
CMYKcmyk(29%, 0%, 83.2%, 48.6%)
CIE-LABlab(50.24, -29.38, 49.54)
CIE-LCHlch(50.24, 57.60, 120.67°)
OKLaboklab(56.11% -0.0846 0.1086)
OKLCHoklch(56.11% 0.138 127.9)
XYZxyz(12.7753, 18.6174, 3.6793)
Luminance0.1862 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8316 #3C1683
analogous
#837216 #5D8316 #278316
triadic
#5D8316 #165D83 #83165D
tetradic
#5D8316 #168372 #3C1683 #831627
square
#5D8316 #168372 #3C1683 #831627
split-complementary
#5D8316 #162783 #721683
monochromatic
#131A04 #384F0D #5D8316 #82B71F #A3DD36

Accessibility & contrast

On white

4.45
#5D8316 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#5D8316 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8316
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8316#FFFFFF#000000##000000
##5D83161.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#857722
Tritanopia (blue-blind)
#617D6F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5d8316;
/* rgb */ color: rgb(93, 131, 22);
/* oklch */ color: oklch(56.1% 0.138 127.9);
Tailwind
colors: {
  custom: {
    50: '#8fa75e',
    500: '#5d8316',
    950: '#000000',
  },
}
SCSS
$custom: #5d8316;
$custom-light: #8fa75e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8316",
  "rgb": {
    "r": 93,
    "g": 131,
    "b": 22
  },
  "hsl": {
    "h": 80.917,
    "s": 71.242,
    "l": 30
  },
  "oklch": {
    "l": 0.5611,
    "c": 0.13766,
    "h": 127.9
  },
  "luminance": 0.18618
}

Semantic roles & 50–950 ramp

primary
#5D8316
secondary
#683DB7
accent
#3AEE79
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5D8316

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

Preview Lab → · Contrast checker → · Palette generator →

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