#587D22#587D22

#587D22 is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.3% C 0.125 H 129.2°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#587D22
RGBrgb(88, 125, 34)
HSLhsl(84, 57%, 31%)
HSVhsv(84, 73%, 49%)
CMYKcmyk(29.6%, 0%, 72.8%, 51%)
CIE-LABlab(48.08, -27.86, 43.16)
CIE-LCHlch(48.08, 51.37, 122.84°)
OKLaboklab(54.3% -0.0792 0.0973)
OKLCHoklch(54.3% 0.125 129.2)
XYZxyz(11.6468, 16.8571, 4.1532)
Luminance0.1686 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587D22 #47227D
analogous
#7D7422 #587D22 #2A7D22
triadic
#587D22 #22587D #7D2258
tetradic
#587D22 #227D74 #47227D #7D222A
square
#587D22 #227D74 #47227D #7D222A
split-complementary
#587D22 #222A7D #74227D
monochromatic
#141D08 #364D15 #587D22 #7AAD2F #99CE4B

Accessibility & contrast

On white

4.80
#587D22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#587D22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587D22
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587D22#FFFFFF#000000##FFFFFF
##587D221.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837413
Deuteranopia (green-blind)
#7E712A
Tritanopia (blue-blind)
#5B776B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #587d22;
/* rgb */ color: rgb(88, 125, 34);
/* oklch */ color: oklch(54.3% 0.125 129.2);
Tailwind
colors: {
  custom: {
    50: '#8aa363',
    500: '#587d22',
    950: '#000000',
  },
}
SCSS
$custom: #587d22;
$custom-light: #8aa363;
$custom-dark: #000000;
JSON
{
  "hex": "#587d22",
  "rgb": {
    "r": 88,
    "g": 125,
    "b": 34
  },
  "hsl": {
    "h": 84.396,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54297,
    "c": 0.12546,
    "h": 129.2
  },
  "luminance": 0.16857
}

Semantic roles & 50–950 ramp

primary
#587D22
secondary
#744BB0
accent
#47E086
background
#F8FAF6
surface
#F0F3EB
border
#CBCDC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #587D22

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

Preview Lab → · Contrast checker → · Palette generator →

#587D22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva