#5D8618#5D8618

#5D8618 is a mid, vivid yellow-green. Relative luminance 0.194; OKLCH L 56.9% C 0.141 H 128.8°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#5D8618
RGBrgb(93, 134, 24)
HSLhsl(82, 70%, 31%)
HSVhsv(82, 82%, 53%)
CMYKcmyk(30.6%, 0%, 82.1%, 47.5%)
CIE-LABlab(51.20, -30.70, 49.82)
CIE-LCHlch(51.20, 58.52, 121.65°)
OKLaboklab(56.9% -0.0881 0.1095)
OKLCHoklch(56.9% 0.141 128.8)
XYZxyz(13.2042, 19.4429, 3.9212)
Luminance0.1944 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8618 #411886
analogous
#867818 #5D8618 #268618
triadic
#5D8618 #185D86 #86185D
tetradic
#5D8618 #188678 #411886 #861826
square
#5D8618 #188678 #411886 #861826
split-complementary
#5D8618 #182686 #781886
monochromatic
#151E05 #39520F #5D8618 #81BA21 #A1DC3C

Accessibility & contrast

On white

4.30
#5D8618 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#5D8618 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8618
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8618#FFFFFF#000000##000000
##5D86181.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#877924
Tritanopia (blue-blind)
#608072
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5d8618;
/* rgb */ color: rgb(93, 134, 24);
/* oklch */ color: oklch(56.9% 0.141 128.8);
Tailwind
colors: {
  custom: {
    50: '#8fa960',
    500: '#5d8618',
    950: '#000000',
  },
}
SCSS
$custom: #5d8618;
$custom-light: #8fa960;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8618",
  "rgb": {
    "r": 93,
    "g": 134,
    "b": 24
  },
  "hsl": {
    "h": 82.364,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.56898,
    "c": 0.14053,
    "h": 128.8
  },
  "luminance": 0.19443
}

Semantic roles & 50–950 ramp

primary
#5D8618
secondary
#6D40BA
accent
#3BEC7D
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D1005
muted
#7E7F79

Preview Lab

Preview with #5D8618

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

Preview Lab → · Contrast checker → · Palette generator →

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