#5D8F19#5D8F19

#5D8F19 is a mid, vivid yellow-green. Relative luminance 0.220; OKLCH L 59.2% C 0.151 H 130.9°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5D8F19
RGBrgb(93, 143, 25)
HSLhsl(85, 70%, 33%)
HSVhsv(85, 83%, 56%)
CMYKcmyk(35%, 0%, 82.5%, 43.9%)
CIE-LABlab(54.07, -34.79, 52.13)
CIE-LCHlch(54.07, 62.68, 123.72°)
OKLaboklab(59.24% -0.0991 0.1145)
OKLCHoklch(59.24% 0.151 130.9)
XYZxyz(14.5120, 22.0417, 4.4094)
Luminance0.2204 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8F19 #4B198F
analogous
#8F8619 #5D8F19 #228F19
triadic
#5D8F19 #195D8F #8F195D
tetradic
#5D8F19 #198F86 #4B198F #8F1922
square
#5D8F19 #198F86 #4B198F #8F1922
split-complementary
#5D8F19 #19228F #86198F
monochromatic
#192707 #3B5B10 #5D8F19 #7FC322 #9DDE44

Accessibility & contrast

On white

3.88
#5D8F19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#5D8F19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8F19
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8F19#FFFFFF#000000##000000
##5D8F191.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#8F8027
Tritanopia (blue-blind)
#5F897A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5d8f19;
/* rgb */ color: rgb(93, 143, 25);
/* oklch */ color: oklch(59.2% 0.151 130.9);
Tailwind
colors: {
  custom: {
    50: '#90b061',
    500: '#5d8f19',
    950: '#000000',
  },
}
SCSS
$custom: #5d8f19;
$custom-light: #90b061;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8f19",
  "rgb": {
    "r": 93,
    "g": 143,
    "b": 25
  },
  "hsl": {
    "h": 85.424,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.59239,
    "c": 0.15143,
    "h": 130.9
  },
  "luminance": 0.22042
}

Semantic roles & 50–950 ramp

primary
#5D8F19
secondary
#7944BF
accent
#3BED86
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5D8F19

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

Preview Lab → · Contrast checker → · Palette generator →

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