#5B8719#5B8719

#5B8719 is a mid, vivid yellow-green. Relative luminance 0.196; OKLCH L 57.0% C 0.142 H 129.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#5B8719
RGBrgb(91, 135, 25)
HSLhsl(84, 69%, 31%)
HSVhsv(84, 81%, 53%)
CMYKcmyk(32.6%, 0%, 81.5%, 47.1%)
CIE-LABlab(51.41, -31.92, 49.66)
CIE-LCHlch(51.41, 59.03, 122.73°)
OKLaboklab(57.04% -0.0912 0.1094)
OKLCHoklch(57.04% 0.142 129.8)
XYZxyz(13.1538, 19.6219, 4.0139)
Luminance0.1962 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8719 #451987
analogous
#877C19 #5B8719 #248719
triadic
#5B8719 #195B87 #87195B
tetradic
#5B8719 #19877C #451987 #871924
square
#5B8719 #19877C #451987 #871924
split-complementary
#5B8719 #192487 #7C1987
monochromatic
#152006 #38530F #5B8719 #7EBB23 #9DDB3F

Accessibility & contrast

On white

4.26
#5B8719 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#5B8719 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8719
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8719#FFFFFF#000000##000000
##5B87191.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#887925
Tritanopia (blue-blind)
#5E8173
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5b8719;
/* rgb */ color: rgb(91, 135, 25);
/* oklch */ color: oklch(57.0% 0.142 129.8);
Tailwind
colors: {
  custom: {
    50: '#8eaa60',
    500: '#5b8719',
    950: '#000000',
  },
}
SCSS
$custom: #5b8719;
$custom-light: #8eaa60;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8719",
  "rgb": {
    "r": 91,
    "g": 135,
    "b": 25
  },
  "hsl": {
    "h": 84,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.57036,
    "c": 0.14239,
    "h": 129.8
  },
  "luminance": 0.19622
}

Semantic roles & 50–950 ramp

primary
#5B8719
secondary
#7241BA
accent
#3CEC82
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5B8719

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

Preview Lab → · Contrast checker → · Palette generator →

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