#587D31#587D31

#587D31 is a mid, moderate yellow-green. Relative luminance 0.170; OKLCH L 54.4% C 0.113 H 131.1°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#587D31
RGBrgb(88, 125, 49)
HSLhsl(89, 44%, 34%)
HSVhsv(89, 61%, 49%)
CMYKcmyk(29.6%, 0%, 60.8%, 51%)
CIE-LABlab(48.21, -26.56, 36.55)
CIE-LCHlch(48.21, 45.18, 126.01°)
OKLaboklab(54.45% -0.0743 0.0853)
OKLCHoklch(54.45% 0.113 131.1)
XYZxyz(11.9124, 16.9633, 5.5518)
Luminance0.1696 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587D31 #56317D
analogous
#7D7C31 #587D31 #327D31
triadic
#587D31 #31587D #7D3158
tetradic
#587D31 #317D7C #56317D #7D3132
square
#587D31 #317D7C #56317D #7D3132
split-complementary
#587D31 #31327D #7C317D
monochromatic
#1A250F #395120 #587D31 #77A942 #95C366

Accessibility & contrast

On white

4.78
#587D31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#587D31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587D31
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587D31#FFFFFF#000000##FFFFFF
##587D311.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827429
Deuteranopia (green-blind)
#7D7236
Tritanopia (blue-blind)
#5A786D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #587d31;
/* rgb */ color: rgb(88, 125, 49);
/* oklch */ color: oklch(54.4% 0.113 131.1);
Tailwind
colors: {
  custom: {
    50: '#8aa36c',
    500: '#587d31',
    950: '#000000',
  },
}
SCSS
$custom: #587d31;
$custom-light: #8aa36c;
$custom-dark: #000000;
JSON
{
  "hex": "#587d31",
  "rgb": {
    "r": 88,
    "g": 125,
    "b": 49
  },
  "hsl": {
    "h": 89.211,
    "s": 43.678,
    "l": 34.118
  },
  "oklch": {
    "l": 0.5445,
    "c": 0.11317,
    "h": 131.1
  },
  "luminance": 0.16964
}

Semantic roles & 50–950 ramp

primary
#587D31
secondary
#8460AA
accent
#54D392
background
#F8FAF6
surface
#F0F3EB
border
#CBCDC6
text
#0C0F07
muted
#7D7F7A

Preview Lab

Preview with #587D31

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

Preview Lab → · Contrast checker → · Palette generator →

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