#587122#587122

#587122 is a mid, moderate yellow-green. Relative luminance 0.140; OKLCH L 51.2% C 0.109 H 125.2°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#587122
RGBrgb(88, 113, 34)
HSLhsl(79, 54%, 29%)
HSVhsv(79, 70%, 44%)
CMYKcmyk(22.1%, 0%, 69.9%, 55.7%)
CIE-LABlab(44.23, -21.88, 39.20)
CIE-LCHlch(44.23, 44.90, 119.16°)
OKLaboklab(51.18% -0.0628 0.089)
OKLCHoklch(51.18% 0.109 125.2)
XYZxyz(10.2184, 14.0003, 3.6771)
Luminance0.1400 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587122 #3B2271
analogous
#716322 #587122 #317122
triadic
#587122 #225871 #712258
tetradic
#587122 #227163 #3B2271 #712231
square
#587122 #227163 #3B2271 #712231
split-complementary
#587122 #223171 #632271
monochromatic
#121807 #334214 #587122 #7DA030 #9EC746

Accessibility & contrast

On white

5.53
#587122 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#587122 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587122
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587122#FFFFFF#000000##FFFFFF
##5871221.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776917
Deuteranopia (green-blind)
#746828
Tritanopia (blue-blind)
#5C6B61
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #587122;
/* rgb */ color: rgb(88, 113, 34);
/* oklch */ color: oklch(51.2% 0.109 125.2);
Tailwind
colors: {
  custom: {
    50: '#8a9a62',
    500: '#587122',
    950: '#000000',
  },
}
SCSS
$custom: #587122;
$custom-light: #8a9a62;
$custom-dark: #000000;
JSON
{
  "hex": "#587122",
  "rgb": {
    "r": 88,
    "g": 113,
    "b": 34
  },
  "hsl": {
    "h": 78.987,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51179,
    "c": 0.10892,
    "h": 125.2
  },
  "luminance": 0.14
}

Semantic roles & 50–950 ramp

primary
#587122
secondary
#674AA4
accent
#4BDD79
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #587122

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

Preview Lab → · Contrast checker → · Palette generator →

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