#5D8918#5D8918

#5D8918 is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 57.7% C 0.144 H 129.5°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#5D8918
RGBrgb(93, 137, 24)
HSLhsl(83, 70%, 32%)
HSVhsv(83, 82%, 54%)
CMYKcmyk(32.1%, 0%, 82.5%, 46.3%)
CIE-LABlab(52.16, -32.10, 50.69)
CIE-LCHlch(52.16, 60.00, 122.35°)
OKLaboklab(57.68% -0.0919 0.1113)
OKLCHoklch(57.68% 0.144 129.5)
XYZxyz(13.6247, 20.2840, 4.0613)
Luminance0.2028 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8918 #441889
analogous
#897D18 #5D8918 #258918
triadic
#5D8918 #185D89 #89185D
tetradic
#5D8918 #18897D #441889 #891825
square
#5D8918 #18897D #441889 #891825
split-complementary
#5D8918 #182589 #7D1889
monochromatic
#162106 #3A550F #5D8918 #80BD21 #9FDD3E

Accessibility & contrast

On white

4.15
#5D8918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#5D8918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8918
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8918#FFFFFF#000000##000000
##5D89181.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#8A7B25
Tritanopia (blue-blind)
#608374
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5d8918;
/* rgb */ color: rgb(93, 137, 24);
/* oklch */ color: oklch(57.7% 0.144 129.5);
Tailwind
colors: {
  custom: {
    50: '#8fab60',
    500: '#5d8918',
    950: '#000000',
  },
}
SCSS
$custom: #5d8918;
$custom-light: #8fab60;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8918",
  "rgb": {
    "r": 93,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 83.363,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57676,
    "c": 0.14433,
    "h": 129.5
  },
  "luminance": 0.20284
}

Semantic roles & 50–950 ramp

primary
#5D8918
secondary
#7140BD
accent
#3BED80
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5D8918

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

Preview Lab → · Contrast checker → · Palette generator →

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