#587227#587227

#587227 is a mid, moderate yellow-green. Relative luminance 0.143; OKLCH L 51.5% C 0.106 H 126.2°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#587227
RGBrgb(88, 114, 39)
HSLhsl(81, 49%, 30%)
HSVhsv(81, 66%, 45%)
CMYKcmyk(22.8%, 0%, 65.8%, 55.3%)
CIE-LABlab(44.60, -21.99, 37.32)
CIE-LCHlch(44.60, 43.32, 120.50°)
OKLaboklab(51.49% -0.0626 0.0857)
OKLCHoklch(51.49% 0.106 126.2)
XYZxyz(10.4080, 14.2557, 4.1223)
Luminance0.1426 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587227 #412772
analogous
#726727 #587227 #327227
triadic
#587227 #275872 #722758
tetradic
#587227 #277267 #412772 #722732
square
#587227 #277267 #412772 #722732
split-complementary
#587227 #273272 #672772
monochromatic
#121708 #354417 #587227 #7BA037 #9BC350

Accessibility & contrast

On white

5.45
#587227 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#587227 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587227
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587227#FFFFFF#000000##FFFFFF
##5872271.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A1E
Deuteranopia (green-blind)
#74692D
Tritanopia (blue-blind)
#5C6D62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #587227;
/* rgb */ color: rgb(88, 114, 39);
/* oklch */ color: oklch(51.5% 0.106 126.2);
Tailwind
colors: {
  custom: {
    50: '#899a65',
    500: '#587227',
    950: '#000000',
  },
}
SCSS
$custom: #587227;
$custom-light: #899a65;
$custom-dark: #000000;
JSON
{
  "hex": "#587227",
  "rgb": {
    "r": 88,
    "g": 114,
    "b": 39
  },
  "hsl": {
    "h": 80.8,
    "s": 49.02,
    "l": 30
  },
  "oklch": {
    "l": 0.51487,
    "c": 0.10618,
    "h": 126.2
  },
  "luminance": 0.14256
}

Semantic roles & 50–950 ramp

primary
#587227
secondary
#6E50A4
accent
#4FD97F
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #587227

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

Preview Lab → · Contrast checker → · Palette generator →

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