#587F2F#587F2F

#587F2F is a mid, moderate yellow-green. Relative luminance 0.175; OKLCH L 54.9% C 0.118 H 131.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#587F2F
RGBrgb(88, 127, 47)
HSLhsl(89, 46%, 34%)
HSVhsv(89, 63%, 50%)
CMYKcmyk(30.7%, 0%, 63%, 50.2%)
CIE-LABlab(48.83, -27.74, 38.21)
CIE-LCHlch(48.83, 47.22, 125.98°)
OKLaboklab(54.95% -0.0777 0.0886)
OKLCHoklch(54.95% 0.118 131.3)
XYZxyz(12.1268, 17.4583, 5.4196)
Luminance0.1746 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587F2F #562F7F
analogous
#7F7E2F #587F2F #307F2F
triadic
#587F2F #2F587F #7F2F58
tetradic
#587F2F #2F7F7E #562F7F #7F2F30
square
#587F2F #2F7F7E #562F7F #7F2F30
split-complementary
#587F2F #2F307F #7E2F7F
monochromatic
#1A260E #39521E #587F2F #77AC40 #95C563

Accessibility & contrast

On white

4.68
#587F2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#587F2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587F2F
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587F2F#FFFFFF#000000##FFFFFF
##587F2F1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847626
Deuteranopia (green-blind)
#7F7335
Tritanopia (blue-blind)
#5A7A6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #587f2f;
/* rgb */ color: rgb(88, 127, 47);
/* oklch */ color: oklch(54.9% 0.118 131.3);
Tailwind
colors: {
  custom: {
    50: '#8aa46b',
    500: '#587f2f',
    950: '#000000',
  },
}
SCSS
$custom: #587f2f;
$custom-light: #8aa46b;
$custom-dark: #000000;
JSON
{
  "hex": "#587f2f",
  "rgb": {
    "r": 88,
    "g": 127,
    "b": 47
  },
  "hsl": {
    "h": 89.25,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54945,
    "c": 0.11791,
    "h": 131.3
  },
  "luminance": 0.17459
}

Semantic roles & 50–950 ramp

primary
#587F2F
secondary
#845EAC
accent
#52D692
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F07
muted
#7D7F7A

Preview Lab

Preview with #587F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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