#587331#587331

#587331 is a mid, moderate yellow-green. Relative luminance 0.146; OKLCH L 51.9% C 0.098 H 128.0°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#587331
RGBrgb(88, 115, 49)
HSLhsl(85, 40%, 32%)
HSVhsv(85, 57%, 45%)
CMYKcmyk(23.5%, 0%, 57.4%, 54.9%)
CIE-LABlab(45.02, -21.53, 32.88)
CIE-LCHlch(45.02, 39.30, 123.22°)
OKLaboklab(51.87% -0.0604 0.0774)
OKLCHoklch(51.87% 0.098 128)
XYZxyz(10.7096, 14.5577, 5.1508)
Luminance0.1456 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587331 #4C3173
analogous
#736D31 #587331 #377331
triadic
#587331 #315873 #733158
tetradic
#587331 #31736D #4C3173 #733137
square
#587331 #31736D #4C3173 #733137
split-complementary
#587331 #313773 #6D3173
monochromatic
#161D0C #37481F #587331 #799E43 #97BC62

Accessibility & contrast

On white

5.37
#587331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#587331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587331
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587331#FFFFFF#000000##FFFFFF
##5873311.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786C2B
Deuteranopia (green-blind)
#756A35
Tritanopia (blue-blind)
#5B6E64
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #587331;
/* rgb */ color: rgb(88, 115, 49);
/* oklch */ color: oklch(51.9% 0.098 128.0);
Tailwind
colors: {
  custom: {
    50: '#899b6b',
    500: '#587331',
    950: '#000000',
  },
}
SCSS
$custom: #587331;
$custom-light: #899b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#587331",
  "rgb": {
    "r": 88,
    "g": 115,
    "b": 49
  },
  "hsl": {
    "h": 84.545,
    "s": 40.244,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51865,
    "c": 0.09821,
    "h": 128
  },
  "luminance": 0.14558
}

Semantic roles & 50–950 ramp

primary
#587331
secondary
#795CA4
accent
#58D089
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E07
muted
#7D7E7A

Preview Lab

Preview with #587331

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

Preview Lab → · Contrast checker → · Palette generator →

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