#587D27#587D27

#587D27 is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.3% C 0.122 H 129.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#587D27
RGBrgb(88, 125, 39)
HSLhsl(86, 52%, 32%)
HSVhsv(86, 69%, 49%)
CMYKcmyk(29.6%, 0%, 68.8%, 51%)
CIE-LABlab(48.12, -27.48, 41.09)
CIE-LCHlch(48.12, 49.43, 123.77°)
OKLaboklab(54.34% -0.0778 0.0937)
OKLCHoklch(54.34% 0.122 129.7)
XYZxyz(11.7243, 16.8881, 4.5611)
Luminance0.1689 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587D27 #4C277D
analogous
#7D7727 #587D27 #2D7D27
triadic
#587D27 #27587D #7D2758
tetradic
#587D27 #277D77 #4C277D #7D272D
square
#587D27 #277D77 #4C277D #7D272D
split-complementary
#587D27 #272D7D #77277D
monochromatic
#16200A #374E18 #587D27 #79AC36 #97CA55

Accessibility & contrast

On white

4.80
#587D27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#587D27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587D27
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587D27#FFFFFF#000000##FFFFFF
##587D271.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83741B
Deuteranopia (green-blind)
#7E712E
Tritanopia (blue-blind)
#5A786B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #587d27;
/* rgb */ color: rgb(88, 125, 39);
/* oklch */ color: oklch(54.3% 0.122 129.7);
Tailwind
colors: {
  custom: {
    50: '#8aa366',
    500: '#587d27',
    950: '#000000',
  },
}
SCSS
$custom: #587d27;
$custom-light: #8aa366;
$custom-dark: #000000;
JSON
{
  "hex": "#587d27",
  "rgb": {
    "r": 88,
    "g": 125,
    "b": 39
  },
  "hsl": {
    "h": 85.814,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54342,
    "c": 0.12175,
    "h": 129.7
  },
  "luminance": 0.16888
}

Semantic roles & 50–950 ramp

primary
#587D27
secondary
#7951AF
accent
#4CDC8A
background
#F8FAF6
surface
#F0F3EB
border
#CBCDC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #587D27

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

Preview Lab → · Contrast checker → · Palette generator →

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