#587F17#587F17

#587F17 is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.7% C 0.135 H 128.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#587F17
RGBrgb(88, 127, 23)
HSLhsl(83, 69%, 29%)
HSVhsv(83, 82%, 50%)
CMYKcmyk(30.7%, 0%, 81.9%, 50.2%)
CIE-LABlab(48.65, -29.47, 47.69)
CIE-LCHlch(48.65, 56.06, 121.72°)
OKLaboklab(54.74% -0.0845 0.105)
OKLCHoklch(54.74% 0.135 128.8)
XYZxyz(11.7685, 17.3150, 3.5325)
Luminance0.1731 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587F17 #3E177F
analogous
#7F7217 #587F17 #247F17
triadic
#587F17 #17587F #7F1758
tetradic
#587F17 #177F72 #3E177F #7F1724
square
#587F17 #177F72 #3E177F #7F1724
split-complementary
#587F17 #17247F #72177F
monochromatic
#121A05 #344B0E #587F17 #7CB320 #9DDB36

Accessibility & contrast

On white

4.71
#587F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#587F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587F17
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587F17#FFFFFF#000000##FFFFFF
##587F171.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867500
Deuteranopia (green-blind)
#807322
Tritanopia (blue-blind)
#5B796C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #587f17;
/* rgb */ color: rgb(88, 127, 23);
/* oklch */ color: oklch(54.7% 0.135 128.8);
Tailwind
colors: {
  custom: {
    50: '#8ba45e',
    500: '#587f17',
    950: '#000000',
  },
}
SCSS
$custom: #587f17;
$custom-light: #8ba45e;
$custom-dark: #000000;
JSON
{
  "hex": "#587f17",
  "rgb": {
    "r": 88,
    "g": 127,
    "b": 23
  },
  "hsl": {
    "h": 82.5,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54744,
    "c": 0.13475,
    "h": 128.8
  },
  "luminance": 0.17315
}

Semantic roles & 50–950 ramp

primary
#587F17
secondary
#6A3EB4
accent
#3CEC7E
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #587F17

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

Preview Lab → · Contrast checker → · Palette generator →

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