#587B28#587B28

#587B28 is a mid, moderate yellow-green. Relative luminance 0.164; OKLCH L 53.8% C 0.118 H 129.3°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#587B28
RGBrgb(88, 123, 40)
HSLhsl(85, 51%, 32%)
HSVhsv(85, 67%, 48%)
CMYKcmyk(28.5%, 0%, 67.5%, 51.8%)
CIE-LABlab(47.49, -26.42, 39.98)
CIE-LCHlch(47.49, 47.92, 123.46°)
OKLaboklab(53.83% -0.0748 0.0915)
OKLCHoklch(53.83% 0.118 129.3)
XYZxyz(11.4904, 16.3935, 4.5660)
Luminance0.1639 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587B28 #4B287B
analogous
#7B7528 #587B28 #2F7B28
triadic
#587B28 #28587B #7B2858
tetradic
#587B28 #287B75 #4B287B #7B282F
square
#587B28 #287B75 #4B287B #7B282F
split-complementary
#587B28 #282F7B #75287B
monochromatic
#161F0A #374D19 #587B28 #79A937 #98C856

Accessibility & contrast

On white

4.91
#587B28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#587B28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587B28
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587B28#FFFFFF#000000##FFFFFF
##587B281.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81721D
Deuteranopia (green-blind)
#7C702F
Tritanopia (blue-blind)
#5B766A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #587b28;
/* rgb */ color: rgb(88, 123, 40);
/* oklch */ color: oklch(53.8% 0.118 129.3);
Tailwind
colors: {
  custom: {
    50: '#8aa166',
    500: '#587b28',
    950: '#000000',
  },
}
SCSS
$custom: #587b28;
$custom-light: #8aa166;
$custom-dark: #000000;
JSON
{
  "hex": "#587b28",
  "rgb": {
    "r": 88,
    "g": 123,
    "b": 40
  },
  "hsl": {
    "h": 85.301,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53831,
    "c": 0.11813,
    "h": 129.3
  },
  "luminance": 0.16394
}

Semantic roles & 50–950 ramp

primary
#587B28
secondary
#7852AD
accent
#4DDA89
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0F06
muted
#7D7E7A

Preview Lab

Preview with #587B28

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

Preview Lab → · Contrast checker → · Palette generator →

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