#587D40#587D40

#587D40 is a mid, moderate yellow-green. Relative luminance 0.171; OKLCH L 54.7% C 0.098 H 134.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#587D40
RGBrgb(88, 125, 64)
HSLhsl(96, 32%, 37%)
HSVhsv(96, 49%, 49%)
CMYKcmyk(29.6%, 0%, 48.8%, 51%)
CIE-LABlab(48.40, -24.80, 29.03)
CIE-LCHlch(48.40, 38.18, 130.50°)
OKLaboklab(54.66% -0.0683 0.0702)
OKLCHoklch(54.66% 0.098 134.2)
XYZxyz(12.2833, 17.1117, 7.5052)
Luminance0.1711 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587D40 #65407D
analogous
#777D40 #587D40 #407D46
triadic
#587D40 #40587D #7D4058
tetradic
#587D40 #40777D #65407D #7D4640
square
#587D40 #40777D #65407D #7D4640
split-complementary
#587D40 #46407D #7D4077
monochromatic
#1F2C17 #3C552B #587D40 #74A555 #95BC7C

Accessibility & contrast

On white

4.75
#587D40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#587D40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587D40
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587D40#FFFFFF#000000##FFFFFF
##587D401.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81753B
Deuteranopia (green-blind)
#7C7244
Tritanopia (blue-blind)
#58796F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #587d40;
/* rgb */ color: rgb(88, 125, 64);
/* oklch */ color: oklch(54.7% 0.098 134.2);
Tailwind
colors: {
  custom: {
    50: '#89a376',
    500: '#587d40',
    950: '#000000',
  },
}
SCSS
$custom: #587d40;
$custom-light: #89a376;
$custom-dark: #000000;
JSON
{
  "hex": "#587d40",
  "rgb": {
    "r": 88,
    "g": 125,
    "b": 64
  },
  "hsl": {
    "h": 96.393,
    "s": 32.275,
    "l": 37.059
  },
  "oklch": {
    "l": 0.54661,
    "c": 0.09791,
    "h": 134.2
  },
  "luminance": 0.17112
}

Semantic roles & 50–950 ramp

primary
#587D40
secondary
#9273A6
accent
#5FC89F
background
#F8FAF7
surface
#F0F3ED
border
#CBCDC8
text
#0C0F08
muted
#7D7F7B

Preview Lab

Preview with #587D40

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

Preview Lab → · Contrast checker → · Palette generator →

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