#587138#587138

#587138 is a mid, moderate yellow-green. Relative luminance 0.142; OKLCH L 51.5% C 0.088 H 128.6°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#587138
RGBrgb(88, 113, 56)
HSLhsl(86, 34%, 33%)
HSVhsv(86, 50%, 44%)
CMYKcmyk(22.1%, 0%, 50.4%, 55.7%)
CIE-LABlab(44.48, -19.67, 28.52)
CIE-LCHlch(44.48, 34.65, 124.60°)
OKLaboklab(51.45% -0.0546 0.0685)
OKLCHoklch(51.45% 0.088 128.6)
XYZxyz(10.6433, 14.1703, 5.9150)
Luminance0.1417 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587138 #513871
analogous
#716D38 #587138 #3B7138
triadic
#587138 #385871 #713858
tetradic
#587138 #38716D #513871 #71383B
square
#587138 #38716D #513871 #71383B
split-complementary
#587138 #383B71 #6D3871
monochromatic
#181F0F #384824 #587138 #789A4C #96B76D

Accessibility & contrast

On white

5.48
#587138 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#587138 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587138
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587138#FFFFFF#000000##FFFFFF
##5871381.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766A33
Deuteranopia (green-blind)
#72693B
Tritanopia (blue-blind)
#5A6D64
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #587138;
/* rgb */ color: rgb(88, 113, 56);
/* oklch */ color: oklch(51.5% 0.088 128.6);
Tailwind
colors: {
  custom: {
    50: '#889a70',
    500: '#587138',
    950: '#000000',
  },
}
SCSS
$custom: #587138;
$custom-light: #889a70;
$custom-dark: #000000;
JSON
{
  "hex": "#587138",
  "rgb": {
    "r": 88,
    "g": 113,
    "b": 56
  },
  "hsl": {
    "h": 86.316,
    "s": 33.728,
    "l": 33.137
  },
  "oklch": {
    "l": 0.51453,
    "c": 0.08761,
    "h": 128.6
  },
  "luminance": 0.1417
}

Semantic roles & 50–950 ramp

primary
#587138
secondary
#7F65A0
accent
#5ECA8D
background
#F8F9F6
surface
#F0F2EC
border
#CBCCC7
text
#0B0E07
muted
#7C7E7A

Preview Lab

Preview with #587138

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

Preview Lab → · Contrast checker → · Palette generator →

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