#587231#587231

#587231 is a mid, moderate yellow-green. Relative luminance 0.143; OKLCH L 51.6% C 0.097 H 127.6°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#587231
RGBrgb(88, 114, 49)
HSLhsl(84, 40%, 32%)
HSVhsv(84, 57%, 45%)
CMYKcmyk(22.8%, 0%, 57%, 55.3%)
CIE-LABlab(44.70, -21.01, 32.51)
CIE-LCHlch(44.70, 38.71, 122.88°)
OKLaboklab(51.61% -0.059 0.0766)
OKLCHoklch(51.61% 0.097 127.6)
XYZxyz(10.5961, 14.3309, 5.1130)
Luminance0.1433 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587231 #4B3172
analogous
#726C31 #587231 #387231
triadic
#587231 #315872 #723158
tetradic
#587231 #31726C #4B3172 #723138
square
#587231 #31726C #4B3172 #723138
split-complementary
#587231 #313872 #6C3172
monochromatic
#161C0C #37471F #587231 #799D43 #98BB62

Accessibility & contrast

On white

5.43
#587231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#587231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587231
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587231#FFFFFF#000000##FFFFFF
##5872311.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776B2B
Deuteranopia (green-blind)
#746935
Tritanopia (blue-blind)
#5B6D64
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #587231;
/* rgb */ color: rgb(88, 114, 49);
/* oklch */ color: oklch(51.6% 0.097 127.6);
Tailwind
colors: {
  custom: {
    50: '#899a6b',
    500: '#587231',
    950: '#000000',
  },
}
SCSS
$custom: #587231;
$custom-light: #899a6b;
$custom-dark: #000000;
JSON
{
  "hex": "#587231",
  "rgb": {
    "r": 88,
    "g": 114,
    "b": 49
  },
  "hsl": {
    "h": 84,
    "s": 39.877,
    "l": 31.961
  },
  "oklch": {
    "l": 0.51608,
    "c": 0.09668,
    "h": 127.6
  },
  "luminance": 0.14331
}

Semantic roles & 50–950 ramp

primary
#587231
secondary
#785CA3
accent
#58D088
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E07
muted
#7D7E7A

Preview Lab

Preview with #587231

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

Preview Lab → · Contrast checker → · Palette generator →

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