#587228#587228

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

Color values

HEX#587228
RGBrgb(88, 114, 40)
HSLhsl(81, 48%, 30%)
HSVhsv(81, 65%, 45%)
CMYKcmyk(22.8%, 0%, 64.9%, 55.3%)
CIE-LABlab(44.61, -21.90, 36.86)
CIE-LCHlch(44.61, 42.87, 120.71°)
OKLaboklab(51.5% -0.0623 0.0849)
OKLCHoklch(51.5% 0.105 126.3)
XYZxyz(10.4248, 14.2624, 4.2108)
Luminance0.1426 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587228 #422872
analogous
#726728 #587228 #337228
triadic
#587228 #285872 #722858
tetradic
#587228 #287267 #422872 #722833
square
#587228 #287267 #422872 #722833
split-complementary
#587228 #283372 #672872
monochromatic
#121708 #354518 #587228 #7B9F38 #9BC252

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##587228#FFFFFF#000000##FFFFFF
##5872281.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)
#786B1F
Deuteranopia (green-blind)
#74692D
Tritanopia (blue-blind)
#5B6D62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #587228;
/* rgb */ color: rgb(88, 114, 40);
/* oklch */ color: oklch(51.5% 0.105 126.3);
Tailwind
colors: {
  custom: {
    50: '#899a65',
    500: '#587228',
    950: '#000000',
  },
}
SCSS
$custom: #587228;
$custom-light: #899a65;
$custom-dark: #000000;
JSON
{
  "hex": "#587228",
  "rgb": {
    "r": 88,
    "g": 114,
    "b": 40
  },
  "hsl": {
    "h": 81.081,
    "s": 48.052,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51498,
    "c": 0.1053,
    "h": 126.3
  },
  "luminance": 0.14263
}

Semantic roles & 50–950 ramp

primary
#587228
secondary
#6F52A4
accent
#50D880
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #587228

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

Preview Lab → · Contrast checker → · Palette generator →

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