#5D8116#5D8116

#5D8116 is a mid, vivid yellow-green. Relative luminance 0.181; OKLCH L 55.6% C 0.135 H 127.4°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#5D8116
RGBrgb(93, 129, 22)
HSLhsl(80, 71%, 30%)
HSVhsv(80, 83%, 51%)
CMYKcmyk(27.9%, 0%, 82.9%, 49.4%)
CIE-LABlab(49.60, -28.42, 48.97)
CIE-LCHlch(49.60, 56.62, 120.13°)
OKLaboklab(55.59% -0.0821 0.1074)
OKLCHoklch(55.59% 0.135 127.4)
XYZxyz(12.5093, 18.0853, 3.5907)
Luminance0.1809 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8116 #3A1681
analogous
#817016 #5D8116 #288116
triadic
#5D8116 #165D81 #81165D
tetradic
#5D8116 #168170 #3A1681 #811628
square
#5D8116 #168170 #3A1681 #811628
split-complementary
#5D8116 #162881 #701681
monochromatic
#131A04 #374D0D #5D8116 #83B51F #A4DD35

Accessibility & contrast

On white

4.55
#5D8116 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#5D8116 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8116
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8116#FFFFFF#000000##000000
##5D81161.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#837522
Tritanopia (blue-blind)
#617B6E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5d8116;
/* rgb */ color: rgb(93, 129, 22);
/* oklch */ color: oklch(55.6% 0.135 127.4);
Tailwind
colors: {
  custom: {
    50: '#8fa55e',
    500: '#5d8116',
    950: '#000000',
  },
}
SCSS
$custom: #5d8116;
$custom-light: #8fa55e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8116",
  "rgb": {
    "r": 93,
    "g": 129,
    "b": 22
  },
  "hsl": {
    "h": 80.187,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.55592,
    "c": 0.13512,
    "h": 127.4
  },
  "luminance": 0.18086
}

Semantic roles & 50–950 ramp

primary
#5D8116
secondary
#663DB6
accent
#3AEE77
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5D8116

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

Preview Lab → · Contrast checker → · Palette generator →

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