#587D28#587D28

#587D28 is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.4% C 0.121 H 129.8°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#587D28
RGBrgb(88, 125, 40)
HSLhsl(86, 52%, 32%)
HSVhsv(86, 68%, 49%)
CMYKcmyk(29.6%, 0%, 68%, 51%)
CIE-LABlab(48.13, -27.40, 40.66)
CIE-LCHlch(48.13, 49.03, 123.97°)
OKLaboklab(54.35% -0.0774 0.0929)
OKLCHoklch(54.35% 0.121 129.8)
XYZxyz(11.7410, 16.8948, 4.6495)
Luminance0.1689 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587D28 #4D287D
analogous
#7D7828 #587D28 #2D7D28
triadic
#587D28 #28587D #7D2858
tetradic
#587D28 #287D78 #4D287D #7D282D
square
#587D28 #287D78 #4D287D #7D282D
split-complementary
#587D28 #282D7D #78287D
monochromatic
#17200A #374F19 #587D28 #79AB37 #97C956

Accessibility & contrast

On white

4.80
#587D28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#587D28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587D28
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587D28#FFFFFF#000000##FFFFFF
##587D281.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83741D
Deuteranopia (green-blind)
#7E712F
Tritanopia (blue-blind)
#5A786C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #587d28;
/* rgb */ color: rgb(88, 125, 40);
/* oklch */ color: oklch(54.4% 0.121 129.8);
Tailwind
colors: {
  custom: {
    50: '#8aa367',
    500: '#587d28',
    950: '#000000',
  },
}
SCSS
$custom: #587d28;
$custom-light: #8aa367;
$custom-dark: #000000;
JSON
{
  "hex": "#587d28",
  "rgb": {
    "r": 88,
    "g": 125,
    "b": 40
  },
  "hsl": {
    "h": 86.118,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54352,
    "c": 0.12096,
    "h": 129.8
  },
  "luminance": 0.16895
}

Semantic roles & 50–950 ramp

primary
#587D28
secondary
#7A53AE
accent
#4DDB8B
background
#F8FAF6
surface
#F0F3EB
border
#CBCDC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #587D28

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

Preview Lab → · Contrast checker → · Palette generator →

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