#5D871A#5D871A

#5D871A is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 57.2% C 0.141 H 129.2°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5D871A
RGBrgb(93, 135, 26)
HSLhsl(83, 68%, 32%)
HSVhsv(83, 81%, 53%)
CMYKcmyk(31.1%, 0%, 80.7%, 47.1%)
CIE-LABlab(51.53, -31.08, 49.50)
CIE-LCHlch(51.53, 58.44, 122.12°)
OKLaboklab(57.17% -0.089 0.1091)
OKLCHoklch(57.17% 0.141 129.2)
XYZxyz(13.3646, 19.7293, 4.0811)
Luminance0.1973 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D871A #441A87
analogous
#877B1A #5D871A #27871A
triadic
#5D871A #1A5D87 #871A5D
tetradic
#5D871A #1A877B #441A87 #871A27
square
#5D871A #1A877B #441A87 #871A27
split-complementary
#5D871A #1A2787 #7B1A87
monochromatic
#162006 #3A5410 #5D871A #80BA24 #9FDA41

Accessibility & contrast

On white

4.25
#5D871A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#5D871A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D871A
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D871A#FFFFFF#000000##000000
##5D871A1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#887A26
Tritanopia (blue-blind)
#608173
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5d871a;
/* rgb */ color: rgb(93, 135, 26);
/* oklch */ color: oklch(57.2% 0.141 129.2);
Tailwind
colors: {
  custom: {
    50: '#8faa61',
    500: '#5d871a',
    950: '#000000',
  },
}
SCSS
$custom: #5d871a;
$custom-light: #8faa61;
$custom-dark: #000000;
JSON
{
  "hex": "#5d871a",
  "rgb": {
    "r": 93,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 83.119,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57169,
    "c": 0.1408,
    "h": 129.2
  },
  "luminance": 0.1973
}

Semantic roles & 50–950 ramp

primary
#5D871A
secondary
#7142BA
accent
#3DEB80
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5D871A

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

Preview Lab → · Contrast checker → · Palette generator →

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