#587940#587940

#587940 is a mid, moderate yellow-green. Relative luminance 0.161; OKLCH L 53.6% C 0.091 H 133.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#587940
RGBrgb(88, 121, 64)
HSLhsl(95, 31%, 36%)
HSVhsv(95, 47%, 47%)
CMYKcmyk(27.3%, 0%, 47.1%, 52.5%)
CIE-LABlab(47.13, -22.77, 27.45)
CIE-LCHlch(47.13, 35.67, 129.68°)
OKLaboklab(53.63% -0.0627 0.0666)
OKLCHoklch(53.63% 0.091 133.3)
XYZxyz(11.7871, 16.1193, 7.3398)
Luminance0.1612 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587940 #614079
analogous
#757940 #587940 #407945
triadic
#587940 #405879 #794058
tetradic
#587940 #407579 #614079 #794540
square
#587940 #407579 #614079 #794540
split-complementary
#587940 #454079 #794075
monochromatic
#1E2916 #3B512B #587940 #75A155 #95B97A

Accessibility & contrast

On white

4.97
#587940 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#587940 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587940
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587940#FFFFFF#000000##FFFFFF
##5879401.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D713B
Deuteranopia (green-blind)
#786F43
Tritanopia (blue-blind)
#58756B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #587940;
/* rgb */ color: rgb(88, 121, 64);
/* oklch */ color: oklch(53.6% 0.091 133.3);
Tailwind
colors: {
  custom: {
    50: '#89a076',
    500: '#587940',
    950: '#000000',
  },
}
SCSS
$custom: #587940;
$custom-light: #89a076;
$custom-dark: #000000;
JSON
{
  "hex": "#587940",
  "rgb": {
    "r": 88,
    "g": 121,
    "b": 64
  },
  "hsl": {
    "h": 94.737,
    "s": 30.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.53634,
    "c": 0.09148,
    "h": 133.3
  },
  "luminance": 0.1612
}

Semantic roles & 50–950 ramp

primary
#587940
secondary
#8E71A4
accent
#61C79C
background
#F8F9F7
surface
#F0F2ED
border
#CBCCC8
text
#0B0E08
muted
#7C7E7B

Preview Lab

Preview with #587940

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

Preview Lab → · Contrast checker → · Palette generator →

#587940 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva