#5D9D18#5D9D18

#5D9D18 is a light, vivid yellow-green. Relative luminance 0.265; OKLCH L 62.9% C 0.169 H 133.1°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#5D9D18
RGBrgb(93, 157, 24)
HSLhsl(89, 73%, 35%)
HSVhsv(89, 85%, 62%)
CMYKcmyk(40.8%, 0%, 84.7%, 38.4%)
CIE-LABlab(58.51, -40.94, 56.39)
CIE-LCHlch(58.51, 69.68, 125.98°)
OKLaboklab(62.87% -0.1156 0.1234)
OKLCHoklch(62.87% 0.169 133.1)
XYZxyz(16.7358, 26.5062, 5.0984)
Luminance0.2651 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D9D18 #58189D
analogous
#9D9A18 #5D9D18 #1A9D18
triadic
#5D9D18 #185D9D #9D185D
tetradic
#5D9D18 #189D9A #58189D #9D181A
square
#5D9D18 #189D9A #58189D #9D181A
split-complementary
#5D9D18 #181A9D #9A189D
monochromatic
#1E3308 #3E6810 #5D9D18 #7CD220 #9BE44C

Accessibility & contrast

On white

3.33
#5D9D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#5D9D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D9D18
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D9D18#FFFFFF#000000##000000
##5D9D181.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#9B8B29
Tritanopia (blue-blind)
#5D9685
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5d9d18;
/* rgb */ color: rgb(93, 157, 24);
/* oklch */ color: oklch(62.9% 0.169 133.1);
Tailwind
colors: {
  custom: {
    50: '#91ba63',
    500: '#5d9d18',
    950: '#000000',
  },
}
SCSS
$custom: #5d9d18;
$custom-light: #91ba63;
$custom-dark: #000000;
JSON
{
  "hex": "#5d9d18",
  "rgb": {
    "r": 93,
    "g": 157,
    "b": 24
  },
  "hsl": {
    "h": 88.872,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.62871,
    "c": 0.16909,
    "h": 133.1
  },
  "luminance": 0.26507
}

Semantic roles & 50–950 ramp

primary
#5D9D18
secondary
#864BC5
accent
#38F090
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5D9D18

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

Preview Lab → · Contrast checker → · Palette generator →

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