#587B40#587B40

#587B40 is a mid, moderate yellow-green. Relative luminance 0.166; OKLCH L 54.1% C 0.095 H 133.8°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#587B40
RGBrgb(88, 123, 64)
HSLhsl(96, 32%, 37%)
HSVhsv(96, 48%, 48%)
CMYKcmyk(28.5%, 0%, 48%, 51.8%)
CIE-LABlab(47.77, -23.79, 28.24)
CIE-LCHlch(47.77, 36.93, 130.11°)
OKLaboklab(54.15% -0.0655 0.0684)
OKLCHoklch(54.15% 0.095 133.8)
XYZxyz(12.0326, 16.6104, 7.4217)
Luminance0.1661 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587B40 #63407B
analogous
#767B40 #587B40 #407B46
triadic
#587B40 #40587B #7B4058
tetradic
#587B40 #40767B #63407B #7B4640
square
#587B40 #40767B #63407B #7B4640
split-complementary
#587B40 #46407B #7B4076
monochromatic
#1E2A16 #3B532B #587B40 #75A355 #95BA7B

Accessibility & contrast

On white

4.86
#587B40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#587B40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587B40
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587B40#FFFFFF#000000##FFFFFF
##587B401.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F733B
Deuteranopia (green-blind)
#7A7044
Tritanopia (blue-blind)
#58776D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #587b40;
/* rgb */ color: rgb(88, 123, 64);
/* oklch */ color: oklch(54.1% 0.095 133.8);
Tailwind
colors: {
  custom: {
    50: '#89a176',
    500: '#587b40',
    950: '#000000',
  },
}
SCSS
$custom: #587b40;
$custom-light: #89a176;
$custom-dark: #000000;
JSON
{
  "hex": "#587b40",
  "rgb": {
    "r": 88,
    "g": 123,
    "b": 64
  },
  "hsl": {
    "h": 95.593,
    "s": 31.551,
    "l": 36.667
  },
  "oklch": {
    "l": 0.54147,
    "c": 0.09471,
    "h": 133.8
  },
  "luminance": 0.16611
}

Semantic roles & 50–950 ramp

primary
#587B40
secondary
#9072A5
accent
#60C89E
background
#F8F9F7
surface
#F0F2ED
border
#CBCCC8
text
#0C0F08
muted
#7D7E7B

Preview Lab

Preview with #587B40

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

Preview Lab → · Contrast checker → · Palette generator →

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