#587731#587731

#587731 is a mid, moderate yellow-green. Relative luminance 0.155; OKLCH L 52.9% C 0.104 H 129.3°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#587731
RGBrgb(88, 119, 49)
HSLhsl(87, 42%, 33%)
HSVhsv(87, 59%, 47%)
CMYKcmyk(26.1%, 0%, 58.8%, 53.3%)
CIE-LABlab(46.30, -23.57, 34.36)
CIE-LCHlch(46.30, 41.67, 124.46°)
OKLaboklab(52.9% -0.0661 0.0806)
OKLCHoklch(52.9% 0.104 129.3)
XYZxyz(11.1756, 15.4899, 5.3062)
Luminance0.1549 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587731 #503177
analogous
#777331 #587731 #357731
triadic
#587731 #315877 #773158
tetradic
#587731 #317773 #503177 #773135
square
#587731 #317773 #503177 #773135
split-complementary
#587731 #313577 #733177
monochromatic
#18200D #384C1F #587731 #78A243 #96BF63

Accessibility & contrast

On white

5.12
#587731 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#587731 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587731
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587731#FFFFFF#000000##FFFFFF
##5877311.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F2A
Deuteranopia (green-blind)
#786D36
Tritanopia (blue-blind)
#5A7268
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #587731;
/* rgb */ color: rgb(88, 119, 49);
/* oklch */ color: oklch(52.9% 0.104 129.3);
Tailwind
colors: {
  custom: {
    50: '#899e6c',
    500: '#587731',
    950: '#000000',
  },
}
SCSS
$custom: #587731;
$custom-light: #899e6c;
$custom-dark: #000000;
JSON
{
  "hex": "#587731",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 49
  },
  "hsl": {
    "h": 86.571,
    "s": 41.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52897,
    "c": 0.10424,
    "h": 129.3
  },
  "luminance": 0.1549
}

Semantic roles & 50–950 ramp

primary
#587731
secondary
#7E5DA6
accent
#56D18D
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E07
muted
#7D7E7A

Preview Lab

Preview with #587731

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

Preview Lab → · Contrast checker → · Palette generator →

#587731 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva