#587E28#587E28

#587E28 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.6% C 0.122 H 130.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#587E28
RGBrgb(88, 126, 40)
HSLhsl(87, 52%, 33%)
HSVhsv(87, 68%, 49%)
CMYKcmyk(30.2%, 0%, 68.3%, 50.6%)
CIE-LABlab(48.45, -27.88, 41.00)
CIE-LCHlch(48.45, 49.58, 124.22°)
OKLaboklab(54.61% -0.0788 0.0936)
OKLCHoklch(54.61% 0.122 130.1)
XYZxyz(11.8683, 17.1493, 4.6919)
Luminance0.1715 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587E28 #4E287E
analogous
#7E7928 #587E28 #2D7E28
triadic
#587E28 #28587E #7E2858
tetradic
#587E28 #287E79 #4E287E #7E282D
square
#587E28 #287E79 #4E287E #7E282D
split-complementary
#587E28 #282D7E #79287E
monochromatic
#17210B #385019 #587E28 #78AC37 #97CA57

Accessibility & contrast

On white

4.74
#587E28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#587E28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587E28
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587E28#FFFFFF#000000##FFFFFF
##587E281.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84751C
Deuteranopia (green-blind)
#7F722F
Tritanopia (blue-blind)
#5A796C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #587e28;
/* rgb */ color: rgb(88, 126, 40);
/* oklch */ color: oklch(54.6% 0.122 130.1);
Tailwind
colors: {
  custom: {
    50: '#8aa367',
    500: '#587e28',
    950: '#000000',
  },
}
SCSS
$custom: #587e28;
$custom-light: #8aa367;
$custom-dark: #000000;
JSON
{
  "hex": "#587e28",
  "rgb": {
    "r": 88,
    "g": 126,
    "b": 40
  },
  "hsl": {
    "h": 86.512,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54612,
    "c": 0.12236,
    "h": 130.1
  },
  "luminance": 0.1715
}

Semantic roles & 50–950 ramp

primary
#587E28
secondary
#7C53AF
accent
#4DDB8C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #587E28

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

Preview Lab → · Contrast checker → · Palette generator →

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