#587F2B#587F2B

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

Color values

HEX#587F2B
RGBrgb(88, 127, 43)
HSLhsl(88, 49%, 33%)
HSVhsv(88, 66%, 50%)
CMYKcmyk(30.7%, 0%, 66.1%, 50.2%)
CIE-LABlab(48.79, -28.11, 40.03)
CIE-LCHlch(48.79, 48.91, 125.08°)
OKLaboklab(54.9% -0.0791 0.092)
OKLCHoklch(54.9% 0.121 130.7)
XYZxyz(12.0498, 17.4275, 5.0140)
Luminance0.1743 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587F2B #522B7F
analogous
#7F7C2B #587F2B #2E7F2B
triadic
#587F2B #2B587F #7F2B58
tetradic
#587F2B #2B7F7C #522B7F #7F2B2E
square
#587F2B #2B7F7C #522B7F #7F2B2E
split-complementary
#587F2B #2B2E7F #7C2B7F
monochromatic
#19240C #38511C #587F2B #78AD3A #96C85C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##587F2B#FFFFFF#000000##FFFFFF
##587F2B1.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)
#857620
Deuteranopia (green-blind)
#7F7332
Tritanopia (blue-blind)
#5A7A6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #587f2b;
/* rgb */ color: rgb(88, 127, 43);
/* oklch */ color: oklch(54.9% 0.121 130.7);
Tailwind
colors: {
  custom: {
    50: '#8aa468',
    500: '#587f2b',
    950: '#000000',
  },
}
SCSS
$custom: #587f2b;
$custom-light: #8aa468;
$custom-dark: #000000;
JSON
{
  "hex": "#587f2b",
  "rgb": {
    "r": 88,
    "g": 127,
    "b": 43
  },
  "hsl": {
    "h": 87.857,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54902,
    "c": 0.12134,
    "h": 130.7
  },
  "luminance": 0.17428
}

Semantic roles & 50–950 ramp

primary
#587F2B
secondary
#8058AE
accent
#4FD98F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #587F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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