#5D871E#5D871E

#5D871E 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#5D871E
RGBrgb(93, 135, 30)
HSLhsl(84, 64%, 32%)
HSVhsv(84, 78%, 53%)
CMYKcmyk(31.1%, 0%, 77.8%, 47.1%)
CIE-LABlab(51.55, -30.86, 48.19)
CIE-LCHlch(51.55, 57.22, 122.64°)
OKLaboklab(57.19% -0.0881 0.107)
OKLCHoklch(57.19% 0.139 129.4)
XYZxyz(13.4125, 19.7484, 4.3332)
Luminance0.1975 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D871E #481E87
analogous
#877C1E #5D871E #29871E
triadic
#5D871E #1E5D87 #871E5D
tetradic
#5D871E #1E877C #481E87 #871E29
square
#5D871E #1E877C #481E87 #871E29
split-complementary
#5D871E #1E2987 #7C1E87
monochromatic
#182308 #3B5513 #5D871E #7FB929 #9ED749

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #5d871e;
/* rgb */ color: rgb(93, 135, 30);
/* oklch */ color: oklch(57.2% 0.139 129.4);
Tailwind
colors: {
  custom: {
    50: '#8faa63',
    500: '#5d871e',
    950: '#000000',
  },
}
SCSS
$custom: #5d871e;
$custom-light: #8faa63;
$custom-dark: #000000;
JSON
{
  "hex": "#5d871e",
  "rgb": {
    "r": 93,
    "g": 135,
    "b": 30
  },
  "hsl": {
    "h": 84,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57193,
    "c": 0.13862,
    "h": 129.4
  },
  "luminance": 0.19749
}

Semantic roles & 50–950 ramp

primary
#5D871E
secondary
#7548B9
accent
#41E783
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D871E

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

Preview Lab → · Contrast checker → · Palette generator →

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