#5D9018#5D9018

#5D9018 is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.5% C 0.153 H 131.0°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#5D9018
RGBrgb(93, 144, 24)
HSLhsl(86, 71%, 33%)
HSVhsv(86, 83%, 56%)
CMYKcmyk(35.4%, 0%, 83.3%, 43.5%)
CIE-LABlab(54.38, -35.29, 52.70)
CIE-LCHlch(54.38, 63.42, 123.80°)
OKLaboklab(59.49% -0.1005 0.1156)
OKLCHoklch(59.49% 0.153 131)
XYZxyz(14.6522, 22.3391, 4.4038)
Luminance0.2234 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D9018 #4B1890
analogous
#908718 #5D9018 #219018
triadic
#5D9018 #185D90 #90185D
tetradic
#5D9018 #189087 #4B1890 #901821
square
#5D9018 #189087 #4B1890 #901821
split-complementary
#5D9018 #182190 #871890
monochromatic
#192707 #3B5C0F #5D9018 #7FC421 #9DE043

Accessibility & contrast

On white

3.84
#5D9018 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#5D9018 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D9018
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D9018#FFFFFF#000000##000000
##5D90181.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#908126
Tritanopia (blue-blind)
#5F8A7A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5d9018;
/* rgb */ color: rgb(93, 144, 24);
/* oklch */ color: oklch(59.5% 0.153 131.0);
Tailwind
colors: {
  custom: {
    50: '#90b161',
    500: '#5d9018',
    950: '#000000',
  },
}
SCSS
$custom: #5d9018;
$custom-light: #90b161;
$custom-dark: #000000;
JSON
{
  "hex": "#5d9018",
  "rgb": {
    "r": 93,
    "g": 144,
    "b": 24
  },
  "hsl": {
    "h": 85.5,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.59494,
    "c": 0.15313,
    "h": 131
  },
  "luminance": 0.2234
}

Semantic roles & 50–950 ramp

primary
#5D9018
secondary
#7943C0
accent
#3AEE86
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5D9018

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

Preview Lab → · Contrast checker → · Palette generator →

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