#587C2E#587C2E

#587C2E is a mid, moderate yellow-green. Relative luminance 0.167; OKLCH L 54.2% C 0.114 H 130.3°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#587C2E
RGBrgb(88, 124, 46)
HSLhsl(88, 46%, 33%)
HSVhsv(88, 63%, 49%)
CMYKcmyk(29%, 0%, 62.9%, 51.4%)
CIE-LABlab(47.86, -26.37, 37.61)
CIE-LCHlch(47.86, 45.93, 125.04°)
OKLaboklab(54.16% -0.0741 0.0872)
OKLCHoklch(54.16% 0.114 130.3)
XYZxyz(11.7252, 16.6869, 5.1874)
Luminance0.1669 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587C2E #522E7C
analogous
#7C792E #587C2E #317C2E
triadic
#587C2E #2E587C #7C2E58
tetradic
#587C2E #2E7C79 #522E7C #7C2E31
square
#587C2E #2E7C79 #522E7C #7C2E31
split-complementary
#587C2E #2E317C #792E7C
monochromatic
#19230D #384F1D #587C2E #78A93F #96C460

Accessibility & contrast

On white

4.84
#587C2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#587C2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587C2E
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587C2E#FFFFFF#000000##FFFFFF
##587C2E1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827325
Deuteranopia (green-blind)
#7C7134
Tritanopia (blue-blind)
#5A776B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #587c2e;
/* rgb */ color: rgb(88, 124, 46);
/* oklch */ color: oklch(54.2% 0.114 130.3);
Tailwind
colors: {
  custom: {
    50: '#8aa26a',
    500: '#587c2e',
    950: '#000000',
  },
}
SCSS
$custom: #587c2e;
$custom-light: #8aa26a;
$custom-dark: #000000;
JSON
{
  "hex": "#587c2e",
  "rgb": {
    "r": 88,
    "g": 124,
    "b": 46
  },
  "hsl": {
    "h": 87.692,
    "s": 45.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54155,
    "c": 0.11444,
    "h": 130.3
  },
  "luminance": 0.16687
}

Semantic roles & 50–950 ramp

primary
#587C2E
secondary
#805BAB
accent
#52D68F
background
#F8FAF6
surface
#F0F3EB
border
#CBCDC6
text
#0C0F07
muted
#7D7F7A

Preview Lab

Preview with #587C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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