#587F2C#587F2C

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

Color values

HEX#587F2C
RGBrgb(88, 127, 44)
HSLhsl(88, 49%, 34%)
HSVhsv(88, 65%, 50%)
CMYKcmyk(30.7%, 0%, 65.4%, 50.2%)
CIE-LABlab(48.80, -28.02, 39.58)
CIE-LCHlch(48.80, 48.49, 125.29°)
OKLaboklab(54.91% -0.0788 0.0912)
OKLCHoklch(54.91% 0.121 130.8)
XYZxyz(12.0684, 17.4349, 5.1118)
Luminance0.1744 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587F2C #532C7F
analogous
#7F7C2C #587F2C #2E7F2C
triadic
#587F2C #2C587F #7F2C58
tetradic
#587F2C #2C7F7C #532C7F #7F2C2E
square
#587F2C #2C7F7C #532C7F #7F2C2E
split-complementary
#587F2C #2C2E7F #7C2C7F
monochromatic
#19240D #39521C #587F2C #77AC3C #96C75E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #587f2c;
/* rgb */ color: rgb(88, 127, 44);
/* oklch */ color: oklch(54.9% 0.120 130.8);
Tailwind
colors: {
  custom: {
    50: '#8aa469',
    500: '#587f2c',
    950: '#000000',
  },
}
SCSS
$custom: #587f2c;
$custom-light: #8aa469;
$custom-dark: #000000;
JSON
{
  "hex": "#587f2c",
  "rgb": {
    "r": 88,
    "g": 127,
    "b": 44
  },
  "hsl": {
    "h": 88.193,
    "s": 48.538,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54912,
    "c": 0.1205,
    "h": 130.8
  },
  "luminance": 0.17435
}

Semantic roles & 50–950 ramp

primary
#587F2C
secondary
#8159AD
accent
#50D890
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #587F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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