#5D8D1A#5D8D1A

#5D8D1A is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.7% C 0.148 H 130.5°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5D8D1A
RGBrgb(93, 141, 26)
HSLhsl(85, 69%, 33%)
HSVhsv(85, 82%, 55%)
CMYKcmyk(34%, 0%, 81.6%, 44.7%)
CIE-LABlab(53.44, -33.84, 51.26)
CIE-LCHlch(53.44, 61.42, 123.43°)
OKLaboklab(58.73% -0.0964 0.1129)
OKLCHoklch(58.73% 0.148 130.5)
XYZxyz(14.2254, 21.4510, 4.3680)
Luminance0.2145 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8D1A #4A1A8D
analogous
#8D831A #5D8D1A #248D1A
triadic
#5D8D1A #1A5D8D #8D1A5D
tetradic
#5D8D1A #1A8D83 #4A1A8D #8D1A24
square
#5D8D1A #1A8D83 #4A1A8D #8D1A24
split-complementary
#5D8D1A #1A248D #831A8D
monochromatic
#192607 #3B5910 #5D8D1A #7FC124 #9DDD45

Accessibility & contrast

On white

3.97
#5D8D1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#5D8D1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8D1A
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8D1A#FFFFFF#000000##000000
##5D8D1A1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8D7E27
Tritanopia (blue-blind)
#5F8778
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5d8d1a;
/* rgb */ color: rgb(93, 141, 26);
/* oklch */ color: oklch(58.7% 0.148 130.5);
Tailwind
colors: {
  custom: {
    50: '#8fae62',
    500: '#5d8d1a',
    950: '#000000',
  },
}
SCSS
$custom: #5d8d1a;
$custom-light: #8fae62;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8d1a",
  "rgb": {
    "r": 93,
    "g": 141,
    "b": 26
  },
  "hsl": {
    "h": 85.043,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58725,
    "c": 0.14844,
    "h": 130.5
  },
  "luminance": 0.21451
}

Semantic roles & 50–950 ramp

primary
#5D8D1A
secondary
#7745BE
accent
#3CEC85
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5D8D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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