#587F27#587F27

#587F27 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.9% C 0.125 H 130.2°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#587F27
RGBrgb(88, 127, 39)
HSLhsl(87, 53%, 33%)
HSVhsv(87, 69%, 50%)
CMYKcmyk(30.7%, 0%, 69.3%, 50.2%)
CIE-LABlab(48.76, -28.44, 41.77)
CIE-LCHlch(48.76, 50.53, 124.26°)
OKLaboklab(54.86% -0.0804 0.0951)
OKLCHoklch(54.86% 0.125 130.2)
XYZxyz(11.9800, 17.3996, 4.6463)
Luminance0.1740 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587F27 #4E277F
analogous
#7F7A27 #587F27 #2C7F27
triadic
#587F27 #27587F #7F2758
tetradic
#587F27 #277F7A #4E277F #7F272C
square
#587F27 #277F7A #4E277F #7F272C
split-complementary
#587F27 #272C7F #7A277F
monochromatic
#17210A #385019 #587F27 #78AE35 #97CB55

Accessibility & contrast

On white

4.69
#587F27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#587F27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587F27
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587F27#FFFFFF#000000##FFFFFF
##587F271.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85761B
Deuteranopia (green-blind)
#7F732E
Tritanopia (blue-blind)
#5A796D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #587f27;
/* rgb */ color: rgb(88, 127, 39);
/* oklch */ color: oklch(54.9% 0.125 130.2);
Tailwind
colors: {
  custom: {
    50: '#8aa466',
    500: '#587f27',
    950: '#000000',
  },
}
SCSS
$custom: #587f27;
$custom-light: #8aa466;
$custom-dark: #000000;
JSON
{
  "hex": "#587f27",
  "rgb": {
    "r": 88,
    "g": 127,
    "b": 39
  },
  "hsl": {
    "h": 86.591,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54863,
    "c": 0.12453,
    "h": 130.2
  },
  "luminance": 0.174
}

Semantic roles & 50–950 ramp

primary
#587F27
secondary
#7C52B0
accent
#4BDC8C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #587F27

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

Preview Lab → · Contrast checker → · Palette generator →

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