#5D9518#5D9518

#5D9518 is a mid, vivid yellow-green. Relative luminance 0.239; OKLCH L 60.8% C 0.159 H 131.9°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#5D9518
RGBrgb(93, 149, 24)
HSLhsl(87, 72%, 34%)
HSVhsv(87, 84%, 58%)
CMYKcmyk(37.6%, 0%, 83.9%, 41.6%)
CIE-LABlab(55.97, -37.50, 54.13)
CIE-LCHlch(55.97, 65.85, 124.71°)
OKLaboklab(60.79% -0.1064 0.1186)
OKLCHoklch(60.79% 0.159 131.9)
XYZxyz(15.4264, 23.8873, 4.6619)
Luminance0.2389 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D9518 #501895
analogous
#958F18 #5D9518 #1F9518
triadic
#5D9518 #185D95 #95185D
tetradic
#5D9518 #18958F #501895 #95181F
square
#5D9518 #18958F #501895 #95181F
split-complementary
#5D9518 #181F95 #8F1895
monochromatic
#1B2C07 #3C6010 #5D9518 #7ECA20 #9CE146

Accessibility & contrast

On white

3.63
#5D9518 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#5D9518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D9518
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D9518#FFFFFF#000000##000000
##5D95181.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#948527
Tritanopia (blue-blind)
#5E8E7F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5d9518;
/* rgb */ color: rgb(93, 149, 24);
/* oklch */ color: oklch(60.8% 0.159 131.9);
Tailwind
colors: {
  custom: {
    50: '#90b462',
    500: '#5d9518',
    950: '#000000',
  },
}
SCSS
$custom: #5d9518;
$custom-light: #90b462;
$custom-dark: #000000;
JSON
{
  "hex": "#5d9518",
  "rgb": {
    "r": 93,
    "g": 149,
    "b": 24
  },
  "hsl": {
    "h": 86.88,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.60793,
    "c": 0.15933,
    "h": 131.9
  },
  "luminance": 0.23888
}

Semantic roles & 50–950 ramp

primary
#5D9518
secondary
#7E46C2
accent
#39EF8A
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5D9518

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

Preview Lab → · Contrast checker → · Palette generator →

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