#587D17#587D17

#587D17 is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 54.2% C 0.132 H 128.3°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#587D17
RGBrgb(88, 125, 23)
HSLhsl(82, 69%, 29%)
HSVhsv(82, 82%, 49%)
CMYKcmyk(29.6%, 0%, 81.6%, 51%)
CIE-LABlab(48.01, -28.52, 47.09)
CIE-LCHlch(48.01, 55.06, 121.20°)
OKLaboklab(54.22% -0.0819 0.1037)
OKLCHoklch(54.22% 0.132 128.3)
XYZxyz(11.5128, 16.8035, 3.4473)
Luminance0.1680 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587D17 #3C177D
analogous
#7D6F17 #587D17 #257D17
triadic
#587D17 #17587D #7D1758
tetradic
#587D17 #177D6F #3C177D #7D1725
square
#587D17 #177D6F #3C177D #7D1725
split-complementary
#587D17 #17257D #6F177D
monochromatic
#121A05 #34490D #587D17 #7CB121 #9EDA35

Accessibility & contrast

On white

4.82
#587D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#587D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587D17
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587D17#FFFFFF#000000##FFFFFF
##587D171.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7E7122
Tritanopia (blue-blind)
#5B776A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #587d17;
/* rgb */ color: rgb(88, 125, 23);
/* oklch */ color: oklch(54.2% 0.132 128.3);
Tailwind
colors: {
  custom: {
    50: '#8ba35e',
    500: '#587d17',
    950: '#000000',
  },
}
SCSS
$custom: #587d17;
$custom-light: #8ba35e;
$custom-dark: #000000;
JSON
{
  "hex": "#587d17",
  "rgb": {
    "r": 88,
    "g": 125,
    "b": 23
  },
  "hsl": {
    "h": 81.765,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5422,
    "c": 0.13217,
    "h": 128.3
  },
  "luminance": 0.16804
}

Semantic roles & 50–950 ramp

primary
#587D17
secondary
#683EB2
accent
#3CEC7C
background
#F8FAF5
surface
#F0F3E9
border
#CBCDC5
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #587D17

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

Preview Lab → · Contrast checker → · Palette generator →

#587D17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva