#587F2D#587F2D

#587F2D is a mid, moderate yellow-green. Relative luminance 0.174; OKLCH L 54.9% C 0.120 H 131.0°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#587F2D
RGBrgb(88, 127, 45)
HSLhsl(89, 48%, 34%)
HSVhsv(89, 65%, 50%)
CMYKcmyk(30.7%, 0%, 64.6%, 50.2%)
CIE-LABlab(48.81, -27.93, 39.13)
CIE-LCHlch(48.81, 48.07, 125.52°)
OKLaboklab(54.92% -0.0785 0.0903)
OKLCHoklch(54.92% 0.12 131)
XYZxyz(12.0874, 17.4425, 5.2120)
Luminance0.1744 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587F2D #542D7F
analogous
#7F7D2D #587F2D #2F7F2D
triadic
#587F2D #2D587F #7F2D58
tetradic
#587F2D #2D7F7D #542D7F #7F2D2F
square
#587F2D #2D7F7D #542D7F #7F2D2F
split-complementary
#587F2D #2D2F7F #7D2D7F
monochromatic
#19250D #39521D #587F2D #77AC3D #96C760

Accessibility & contrast

On white

4.68
#587F2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#587F2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587F2D
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587F2D#FFFFFF#000000##FFFFFF
##587F2D1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857623
Deuteranopia (green-blind)
#7F7333
Tritanopia (blue-blind)
#5A7A6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #587f2d;
/* rgb */ color: rgb(88, 127, 45);
/* oklch */ color: oklch(54.9% 0.120 131.0);
Tailwind
colors: {
  custom: {
    50: '#8aa46a',
    500: '#587f2d',
    950: '#000000',
  },
}
SCSS
$custom: #587f2d;
$custom-light: #8aa46a;
$custom-dark: #000000;
JSON
{
  "hex": "#587f2d",
  "rgb": {
    "r": 88,
    "g": 127,
    "b": 45
  },
  "hsl": {
    "h": 88.537,
    "s": 47.674,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54923,
    "c": 0.11965,
    "h": 131
  },
  "luminance": 0.17443
}

Semantic roles & 50–950 ramp

primary
#587F2D
secondary
#825BAD
accent
#51D791
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F07
muted
#7D7F7A

Preview Lab

Preview with #587F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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