#587D2F#587D2F

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

Color values

HEX#587D2F
RGBrgb(88, 125, 47)
HSLhsl(88, 45%, 34%)
HSVhsv(88, 62%, 49%)
CMYKcmyk(29.6%, 0%, 62.4%, 51%)
CIE-LABlab(48.19, -26.76, 37.50)
CIE-LCHlch(48.19, 46.07, 125.52°)
OKLaboklab(54.43% -0.0751 0.0871)
OKLCHoklch(54.43% 0.115 130.8)
XYZxyz(11.8711, 16.9468, 5.3344)
Luminance0.1695 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587D2F #542F7D
analogous
#7D7B2F #587D2F #317D2F
triadic
#587D2F #2F587D #7D2F58
tetradic
#587D2F #2F7D7B #542F7D #7D2F31
square
#587D2F #2F7D7B #542F7D #7D2F31
split-complementary
#587D2F #2F317D #7B2F7D
monochromatic
#19240E #39511E #587D2F #77A940 #96C462

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##587D2F#FFFFFF#000000##FFFFFF
##587D2F1.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)
#827426
Deuteranopia (green-blind)
#7D7135
Tritanopia (blue-blind)
#5A786C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #587d2f;
/* rgb */ color: rgb(88, 125, 47);
/* oklch */ color: oklch(54.4% 0.115 130.8);
Tailwind
colors: {
  custom: {
    50: '#8aa36b',
    500: '#587d2f',
    950: '#000000',
  },
}
SCSS
$custom: #587d2f;
$custom-light: #8aa36b;
$custom-dark: #000000;
JSON
{
  "hex": "#587d2f",
  "rgb": {
    "r": 88,
    "g": 125,
    "b": 47
  },
  "hsl": {
    "h": 88.462,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54426,
    "c": 0.11499,
    "h": 130.8
  },
  "luminance": 0.16947
}

Semantic roles & 50–950 ramp

primary
#587D2F
secondary
#825DAB
accent
#53D591
background
#F8FAF6
surface
#F0F3EB
border
#CBCDC6
text
#0C0F07
muted
#7D7F7A

Preview Lab

Preview with #587D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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