#5D871C#5D871C

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

Color values

HEX#5D871C
RGBrgb(93, 135, 28)
HSLhsl(84, 66%, 32%)
HSVhsv(84, 79%, 53%)
CMYKcmyk(31.1%, 0%, 79.3%, 47.1%)
CIE-LABlab(51.54, -30.97, 48.86)
CIE-LCHlch(51.54, 57.85, 122.37°)
OKLaboklab(57.18% -0.0885 0.1081)
OKLCHoklch(57.18% 0.14 129.3)
XYZxyz(13.3877, 19.7386, 4.2029)
Luminance0.1974 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D871C #461C87
analogous
#877C1C #5D871C #28871C
triadic
#5D871C #1C5D87 #871C5D
tetradic
#5D871C #1C877C #461C87 #871C28
square
#5D871C #1C877C #461C87 #871C28
split-complementary
#5D871C #1C2887 #7C1C87
monochromatic
#172207 #3A5411 #5D871C #80BA27 #9FD845

Accessibility & contrast

On white

4.24
#5D871C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D871C#FFFFFF#000000##000000
##5D871C1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d871c;
/* rgb */ color: rgb(93, 135, 28);
/* oklch */ color: oklch(57.2% 0.140 129.3);
Tailwind
colors: {
  custom: {
    50: '#8faa62',
    500: '#5d871c',
    950: '#000000',
  },
}
SCSS
$custom: #5d871c;
$custom-light: #8faa62;
$custom-dark: #000000;
JSON
{
  "hex": "#5d871c",
  "rgb": {
    "r": 93,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 83.551,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57181,
    "c": 0.13974,
    "h": 129.3
  },
  "luminance": 0.19739
}

Semantic roles & 50–950 ramp

primary
#5D871C
secondary
#7345BA
accent
#3FE982
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5D871C

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

Preview Lab → · Contrast checker → · Palette generator →

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