#587F2A#587F2A

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

Color values

HEX#587F2A
RGBrgb(88, 127, 42)
HSLhsl(88, 50%, 33%)
HSVhsv(88, 67%, 50%)
CMYKcmyk(30.7%, 0%, 66.9%, 50.2%)
CIE-LABlab(48.79, -28.19, 40.47)
CIE-LCHlch(48.79, 49.32, 124.86°)
OKLaboklab(54.89% -0.0795 0.0928)
OKLCHoklch(54.89% 0.122 130.6)
XYZxyz(12.0317, 17.4203, 4.9186)
Luminance0.1742 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587F2A #512A7F
analogous
#7F7B2A #587F2A #2E7F2A
triadic
#587F2A #2A587F #7F2A58
tetradic
#587F2A #2A7F7B #512A7F #7F2A2E
square
#587F2A #2A7F7B #512A7F #7F2A2E
split-complementary
#587F2A #2A2E7F #7B2A7F
monochromatic
#18230C #38511B #587F2A #78AD39 #96C95B

Accessibility & contrast

On white

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

On black

4.48
#587F2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##587F2A#FFFFFF#000000##FFFFFF
##587F2A1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85761F
Deuteranopia (green-blind)
#7F7331
Tritanopia (blue-blind)
#5A7A6D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #587f2a;
/* rgb */ color: rgb(88, 127, 42);
/* oklch */ color: oklch(54.9% 0.122 130.6);
Tailwind
colors: {
  custom: {
    50: '#8aa468',
    500: '#587f2a',
    950: '#000000',
  },
}
SCSS
$custom: #587f2a;
$custom-light: #8aa468;
$custom-dark: #000000;
JSON
{
  "hex": "#587f2a",
  "rgb": {
    "r": 88,
    "g": 127,
    "b": 42
  },
  "hsl": {
    "h": 87.529,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54892,
    "c": 0.12216,
    "h": 130.6
  },
  "luminance": 0.17421
}

Semantic roles & 50–950 ramp

primary
#587F2A
secondary
#7F57AE
accent
#4EDA8E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #587F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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