#5D871D#5D871D

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

Color values

HEX#5D871D
RGBrgb(93, 135, 29)
HSLhsl(84, 65%, 32%)
HSVhsv(84, 79%, 53%)
CMYKcmyk(31.1%, 0%, 78.5%, 47.1%)
CIE-LABlab(51.55, -30.92, 48.52)
CIE-LCHlch(51.55, 57.54, 122.50°)
OKLaboklab(57.19% -0.0883 0.1076)
OKLCHoklch(57.19% 0.139 129.4)
XYZxyz(13.3999, 19.7434, 4.2670)
Luminance0.1974 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D871D #471D87
analogous
#877C1D #5D871D #28871D
triadic
#5D871D #1D5D87 #871D5D
tetradic
#5D871D #1D877C #471D87 #871D28
square
#5D871D #1D877C #471D87 #871D28
split-complementary
#5D871D #1D2887 #7C1D87
monochromatic
#182207 #3A5512 #5D871D #80B928 #9ED747

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D871D#FFFFFF#000000##000000
##5D871D1.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)
#8E7D03
Deuteranopia (green-blind)
#887A28
Tritanopia (blue-blind)
#608173
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5d871d;
/* rgb */ color: rgb(93, 135, 29);
/* oklch */ color: oklch(57.2% 0.139 129.4);
Tailwind
colors: {
  custom: {
    50: '#8faa62',
    500: '#5d871d',
    950: '#000000',
  },
}
SCSS
$custom: #5d871d;
$custom-light: #8faa62;
$custom-dark: #000000;
JSON
{
  "hex": "#5d871d",
  "rgb": {
    "r": 93,
    "g": 135,
    "b": 29
  },
  "hsl": {
    "h": 83.774,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57187,
    "c": 0.13919,
    "h": 129.4
  },
  "luminance": 0.19744
}

Semantic roles & 50–950 ramp

primary
#5D871D
secondary
#7446B9
accent
#40E883
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5D871D

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

Preview Lab → · Contrast checker → · Palette generator →

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