#587B31#587B31

#587B31 is a mid, moderate yellow-green. Relative luminance 0.165; OKLCH L 53.9% C 0.110 H 130.5°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#587B31
RGBrgb(88, 123, 49)
HSLhsl(88, 43%, 34%)
HSVhsv(88, 60%, 48%)
CMYKcmyk(28.5%, 0%, 60.2%, 51.8%)
CIE-LABlab(47.58, -25.58, 35.82)
CIE-LCHlch(47.58, 44.02, 125.53°)
OKLaboklab(53.93% -0.0716 0.0838)
OKLCHoklch(53.93% 0.11 130.5)
XYZxyz(11.6617, 16.4621, 5.4682)
Luminance0.1646 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587B31 #54317B
analogous
#7B7931 #587B31 #337B31
triadic
#587B31 #31587B #7B3158
tetradic
#587B31 #317B79 #54317B #7B3133
square
#587B31 #317B79 #54317B #7B3133
split-complementary
#587B31 #31337B #79317B
monochromatic
#19230E #394F20 #587B31 #77A742 #96C265

Accessibility & contrast

On white

4.89
#587B31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#587B31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587B31
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587B31#FFFFFF#000000##FFFFFF
##587B311.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807329
Deuteranopia (green-blind)
#7B7036
Tritanopia (blue-blind)
#5A766B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #587b31;
/* rgb */ color: rgb(88, 123, 49);
/* oklch */ color: oklch(53.9% 0.110 130.5);
Tailwind
colors: {
  custom: {
    50: '#89a16c',
    500: '#587b31',
    950: '#000000',
  },
}
SCSS
$custom: #587b31;
$custom-light: #89a16c;
$custom-dark: #000000;
JSON
{
  "hex": "#587b31",
  "rgb": {
    "r": 88,
    "g": 123,
    "b": 49
  },
  "hsl": {
    "h": 88.378,
    "s": 43.023,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53931,
    "c": 0.11021,
    "h": 130.5
  },
  "luminance": 0.16462
}

Semantic roles & 50–950 ramp

primary
#587B31
secondary
#825FA9
accent
#55D390
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0F07
muted
#7D7E7A

Preview Lab

Preview with #587B31

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

Preview Lab → · Contrast checker → · Palette generator →

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