#5D8117#5D8117

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

Color values

HEX#5D8117
RGBrgb(93, 129, 23)
HSLhsl(80, 70%, 30%)
HSVhsv(80, 82%, 51%)
CMYKcmyk(27.9%, 0%, 82.2%, 49.4%)
CIE-LABlab(49.60, -28.38, 48.67)
CIE-LCHlch(49.60, 56.34, 120.25°)
OKLaboklab(55.6% -0.0819 0.1069)
OKLCHoklch(55.6% 0.135 127.5)
XYZxyz(12.5192, 18.0893, 3.6424)
Luminance0.1809 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8117 #3B1781
analogous
#817017 #5D8117 #288117
triadic
#5D8117 #175D81 #81175D
tetradic
#5D8117 #178170 #3B1781 #811728
square
#5D8117 #178170 #3B1781 #811728
split-complementary
#5D8117 #172881 #701781
monochromatic
#131A05 #384D0E #5D8117 #82B520 #A4DB37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D8117#FFFFFF#000000##000000
##5D81171.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)
#837523
Tritanopia (blue-blind)
#617B6E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5d8117;
/* rgb */ color: rgb(93, 129, 23);
/* oklch */ color: oklch(55.6% 0.135 127.5);
Tailwind
colors: {
  custom: {
    50: '#8fa55f',
    500: '#5d8117',
    950: '#000000',
  },
}
SCSS
$custom: #5d8117;
$custom-light: #8fa55f;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8117",
  "rgb": {
    "r": 93,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 80.377,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.55597,
    "c": 0.13463,
    "h": 127.5
  },
  "luminance": 0.1809
}

Semantic roles & 50–950 ramp

primary
#5D8117
secondary
#673EB5
accent
#3BED77
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5D8117

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

Preview Lab → · Contrast checker → · Palette generator →

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