#587F40#587F40

#587F40 is a mid, moderate yellow-green. Relative luminance 0.176; OKLCH L 55.2% C 0.101 H 134.7°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#587F40
RGBrgb(88, 127, 64)
HSLhsl(97, 33%, 37%)
HSVhsv(97, 50%, 50%)
CMYKcmyk(30.7%, 0%, 49.6%, 50.2%)
CIE-LABlab(49.04, -25.79, 29.82)
CIE-LCHlch(49.04, 39.43, 130.86°)
OKLaboklab(55.18% -0.0711 0.0719)
OKLCHoklch(55.18% 0.101 134.7)
XYZxyz(12.5390, 17.6232, 7.5905)
Luminance0.1762 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587F40 #67407F
analogous
#777F40 #587F40 #407F48
triadic
#587F40 #40587F #7F4058
tetradic
#587F40 #40777F #67407F #7F4840
square
#587F40 #40777F #67407F #7F4840
split-complementary
#587F40 #48407F #7F4077
monochromatic
#202E17 #3C562B #587F40 #74A855 #95BD7C

Accessibility & contrast

On white

4.64
#587F40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#587F40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #587F40
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587F40#FFFFFF#000000##FFFFFF
##587F401.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83773B
Deuteranopia (green-blind)
#7D7344
Tritanopia (blue-blind)
#587B70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #587f40;
/* rgb */ color: rgb(88, 127, 64);
/* oklch */ color: oklch(55.2% 0.101 134.7);
Tailwind
colors: {
  custom: {
    50: '#89a476',
    500: '#587f40',
    950: '#000000',
  },
}
SCSS
$custom: #587f40;
$custom-light: #89a476;
$custom-dark: #000000;
JSON
{
  "hex": "#587f40",
  "rgb": {
    "r": 88,
    "g": 127,
    "b": 64
  },
  "hsl": {
    "h": 97.143,
    "s": 32.984,
    "l": 37.451
  },
  "oklch": {
    "l": 0.55176,
    "c": 0.1011,
    "h": 134.7
  },
  "luminance": 0.17624
}

Semantic roles & 50–950 ramp

primary
#587F40
secondary
#9473A8
accent
#5FC9A1
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0C0F08
muted
#7D7F7B

Preview Lab

Preview with #587F40

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

Preview Lab → · Contrast checker → · Palette generator →

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