#5D8727#5D8727

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

Color values

HEX#5D8727
RGBrgb(93, 135, 39)
HSLhsl(86, 55%, 34%)
HSVhsv(86, 71%, 53%)
CMYKcmyk(31.1%, 0%, 71.1%, 47.1%)
CIE-LABlab(51.61, -30.27, 44.82)
CIE-LCHlch(51.61, 54.08, 124.03°)
OKLaboklab(57.26% -0.0857 0.1014)
OKLCHoklch(57.26% 0.133 130.2)
XYZxyz(13.5443, 19.8012, 5.0275)
Luminance0.1980 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8727 #512787
analogous
#878127 #5D8727 #2D8727
triadic
#5D8727 #275D87 #87275D
tetradic
#5D8727 #278781 #512787 #87272D
square
#5D8727 #278781 #512787 #87272D
split-complementary
#5D8727 #272D87 #812787
monochromatic
#1C280C #3C5819 #5D8727 #7EB635 #9CCF59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D8727#FFFFFF#000000##000000
##5D87271.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)
#8D7D18
Deuteranopia (green-blind)
#877A2F
Tritanopia (blue-blind)
#5F8174
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5d8727;
/* rgb */ color: rgb(93, 135, 39);
/* oklch */ color: oklch(57.3% 0.133 130.2);
Tailwind
colors: {
  custom: {
    50: '#8eaa67',
    500: '#5d8727',
    950: '#000000',
  },
}
SCSS
$custom: #5d8727;
$custom-light: #8eaa67;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8727",
  "rgb": {
    "r": 93,
    "g": 135,
    "b": 39
  },
  "hsl": {
    "h": 86.25,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57261,
    "c": 0.1328,
    "h": 130.2
  },
  "luminance": 0.19802
}

Semantic roles & 50–950 ramp

primary
#5D8727
secondary
#7F56B4
accent
#49DF8B
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D8727

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

Preview Lab → · Contrast checker → · Palette generator →

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