#5D8726#5D8726

#5D8726 is a mid, vivid yellow-green. Relative luminance 0.198; OKLCH L 57.3% C 0.134 H 130.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5D8726
RGBrgb(93, 135, 38)
HSLhsl(86, 56%, 34%)
HSVhsv(86, 72%, 53%)
CMYKcmyk(31.1%, 0%, 71.9%, 47.1%)
CIE-LABlab(51.60, -30.34, 45.22)
CIE-LCHlch(51.60, 54.46, 123.86°)
OKLaboklab(57.25% -0.086 0.1021)
OKLCHoklch(57.25% 0.134 130.1)
XYZxyz(13.5279, 19.7946, 4.9413)
Luminance0.1979 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8726 #502687
analogous
#878126 #5D8726 #2D8726
triadic
#5D8726 #265D87 #87265D
tetradic
#5D8726 #268781 #502687 #87262D
square
#5D8726 #268781 #502687 #87262D
split-complementary
#5D8726 #262D87 #812687
monochromatic
#1B270B #3C5719 #5D8726 #7EB733 #9CD058

Accessibility & contrast

On white

4.23
#5D8726 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#5D8726 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8726
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8726#FFFFFF#000000##000000
##5D87261.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D17
Deuteranopia (green-blind)
#887A2F
Tritanopia (blue-blind)
#5F8174
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5d8726;
/* rgb */ color: rgb(93, 135, 38);
/* oklch */ color: oklch(57.3% 0.134 130.1);
Tailwind
colors: {
  custom: {
    50: '#8eaa67',
    500: '#5d8726',
    950: '#000000',
  },
}
SCSS
$custom: #5d8726;
$custom-light: #8eaa67;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8726",
  "rgb": {
    "r": 93,
    "g": 135,
    "b": 38
  },
  "hsl": {
    "h": 85.979,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57253,
    "c": 0.13351,
    "h": 130.1
  },
  "luminance": 0.19795
}

Semantic roles & 50–950 ramp

primary
#5D8726
secondary
#7E54B5
accent
#48DF8A
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D8726

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

Preview Lab → · Contrast checker → · Palette generator →

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