#5D871B#5D871B

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

Color values

HEX#5D871B
RGBrgb(93, 135, 27)
HSLhsl(83, 67%, 32%)
HSVhsv(83, 80%, 53%)
CMYKcmyk(31.1%, 0%, 80%, 47.1%)
CIE-LABlab(51.53, -31.02, 49.18)
CIE-LCHlch(51.53, 58.15, 122.24°)
OKLaboklab(57.17% -0.0887 0.1086)
OKLCHoklch(57.17% 0.14 129.2)
XYZxyz(13.3760, 19.7338, 4.1410)
Luminance0.1973 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D871B #451B87
analogous
#877B1B #5D871B #27871B
triadic
#5D871B #1B5D87 #871B5D
tetradic
#5D871B #1B877B #451B87 #871B27
square
#5D871B #1B877B #451B87 #871B27
split-complementary
#5D871B #1B2787 #7B1B87
monochromatic
#172107 #3A5411 #5D871B #80BA25 #9FD943

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D871B#FFFFFF#000000##000000
##5D871B1.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: #5d871b;
/* rgb */ color: rgb(93, 135, 27);
/* oklch */ color: oklch(57.2% 0.140 129.2);
Tailwind
colors: {
  custom: {
    50: '#8faa61',
    500: '#5d871b',
    950: '#000000',
  },
}
SCSS
$custom: #5d871b;
$custom-light: #8faa61;
$custom-dark: #000000;
JSON
{
  "hex": "#5d871b",
  "rgb": {
    "r": 93,
    "g": 135,
    "b": 27
  },
  "hsl": {
    "h": 83.333,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57174,
    "c": 0.14028,
    "h": 129.2
  },
  "luminance": 0.19734
}

Semantic roles & 50–950 ramp

primary
#5D871B
secondary
#7244BA
accent
#3EEA81
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5D871B

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

Preview Lab → · Contrast checker → · Palette generator →

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