#587E2A#587E2A

#587E2A is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.6% C 0.121 H 130.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#587E2A
RGBrgb(88, 126, 42)
HSLhsl(87, 50%, 33%)
HSVhsv(87, 67%, 49%)
CMYKcmyk(30.2%, 0%, 66.7%, 50.6%)
CIE-LABlab(48.47, -27.71, 40.13)
CIE-LCHlch(48.47, 48.76, 124.63°)
OKLaboklab(54.63% -0.0781 0.0921)
OKLCHoklch(54.63% 0.121 130.3)
XYZxyz(11.9032, 17.1632, 4.8757)
Luminance0.1716 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587E2A #502A7E
analogous
#7E7A2A #587E2A #2E7E2A
triadic
#587E2A #2A587E #7E2A58
tetradic
#587E2A #2A7E7A #502A7E #7E2A2E
square
#587E2A #2A7E7A #502A7E #7E2A2E
split-complementary
#587E2A #2A2E7E #7A2A7E
monochromatic
#18220B #38501B #587E2A #78AC39 #96C85A

Accessibility & contrast

On white

4.74
#587E2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#587E2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587E2A
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587E2A#FFFFFF#000000##FFFFFF
##587E2A1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84751F
Deuteranopia (green-blind)
#7E7231
Tritanopia (blue-blind)
#5A796D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #587e2a;
/* rgb */ color: rgb(88, 126, 42);
/* oklch */ color: oklch(54.6% 0.121 130.3);
Tailwind
colors: {
  custom: {
    50: '#8aa368',
    500: '#587e2a',
    950: '#000000',
  },
}
SCSS
$custom: #587e2a;
$custom-light: #8aa368;
$custom-dark: #000000;
JSON
{
  "hex": "#587e2a",
  "rgb": {
    "r": 88,
    "g": 126,
    "b": 42
  },
  "hsl": {
    "h": 87.143,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54632,
    "c": 0.12074,
    "h": 130.3
  },
  "luminance": 0.17164
}

Semantic roles & 50–950 ramp

primary
#587E2A
secondary
#7E56AE
accent
#4EDA8D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #587E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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