#587128#587128

#587128 is a mid, moderate yellow-green. Relative luminance 0.140; OKLCH L 51.2% C 0.104 H 125.9°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#587128
RGBrgb(88, 113, 40)
HSLhsl(81, 48%, 30%)
HSVhsv(81, 65%, 44%)
CMYKcmyk(22.1%, 0%, 64.6%, 55.7%)
CIE-LABlab(44.29, -21.38, 36.51)
CIE-LCHlch(44.29, 42.31, 120.35°)
OKLaboklab(51.24% -0.0609 0.0842)
OKLCHoklch(51.24% 0.104 125.9)
XYZxyz(10.3127, 14.0380, 4.1734)
Luminance0.1404 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587128 #412871
analogous
#716528 #587128 #347128
triadic
#587128 #285871 #712858
tetradic
#587128 #287165 #412871 #712834
square
#587128 #287165 #412871 #712834
split-complementary
#587128 #283471 #652871
monochromatic
#121708 #354418 #587128 #7B9E38 #9BC252

Accessibility & contrast

On white

5.52
#587128 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#587128 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587128
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587128#FFFFFF#000000##FFFFFF
##5871281.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776A1F
Deuteranopia (green-blind)
#74682D
Tritanopia (blue-blind)
#5C6C62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #587128;
/* rgb */ color: rgb(88, 113, 40);
/* oklch */ color: oklch(51.2% 0.104 125.9);
Tailwind
colors: {
  custom: {
    50: '#899a65',
    500: '#587128',
    950: '#000000',
  },
}
SCSS
$custom: #587128;
$custom-light: #899a65;
$custom-dark: #000000;
JSON
{
  "hex": "#587128",
  "rgb": {
    "r": 88,
    "g": 113,
    "b": 40
  },
  "hsl": {
    "h": 80.548,
    "s": 47.712,
    "l": 30
  },
  "oklch": {
    "l": 0.5124,
    "c": 0.10386,
    "h": 125.9
  },
  "luminance": 0.14038
}

Semantic roles & 50–950 ramp

primary
#587128
secondary
#6E52A3
accent
#50D77F
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #587128

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

Preview Lab → · Contrast checker → · Palette generator →

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