#587221#587221

#587221 is a mid, moderate yellow-green. Relative luminance 0.142; OKLCH L 51.4% C 0.111 H 125.5°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#587221
RGBrgb(88, 114, 33)
HSLhsl(79, 55%, 29%)
HSVhsv(79, 71%, 45%)
CMYKcmyk(22.8%, 0%, 71.1%, 55.3%)
CIE-LABlab(44.55, -22.47, 39.96)
CIE-LCHlch(44.55, 45.84, 119.34°)
OKLaboklab(51.43% -0.0646 0.0904)
OKLCHoklch(51.43% 0.111 125.5)
XYZxyz(10.3164, 14.2190, 3.6396)
Luminance0.1422 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587221 #3B2172
analogous
#726421 #587221 #307221
triadic
#587221 #215872 #722158
tetradic
#587221 #217264 #3B2172 #722130
square
#587221 #217264 #3B2172 #722130
split-complementary
#587221 #213072 #642172
monochromatic
#121807 #334313 #587221 #7DA12F #9EC944

Accessibility & contrast

On white

5.46
#587221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#587221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587221
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587221#FFFFFF#000000##FFFFFF
##5872211.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A15
Deuteranopia (green-blind)
#756928
Tritanopia (blue-blind)
#5C6C62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #587221;
/* rgb */ color: rgb(88, 114, 33);
/* oklch */ color: oklch(51.4% 0.111 125.5);
Tailwind
colors: {
  custom: {
    50: '#8a9a61',
    500: '#587221',
    950: '#000000',
  },
}
SCSS
$custom: #587221;
$custom-light: #8a9a61;
$custom-dark: #000000;
JSON
{
  "hex": "#587221",
  "rgb": {
    "r": 88,
    "g": 114,
    "b": 33
  },
  "hsl": {
    "h": 79.259,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51429,
    "c": 0.11109,
    "h": 125.5
  },
  "luminance": 0.14219
}

Semantic roles & 50–950 ramp

primary
#587221
secondary
#6749A5
accent
#49DE79
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #587221

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

Preview Lab → · Contrast checker → · Palette generator →

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