#587F20#587F20

#587F20 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.8% C 0.130 H 129.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#587F20
RGBrgb(88, 127, 32)
HSLhsl(85, 60%, 31%)
HSVhsv(85, 75%, 50%)
CMYKcmyk(30.7%, 0%, 74.8%, 50.2%)
CIE-LABlab(48.71, -28.96, 44.58)
CIE-LCHlch(48.71, 53.16, 123.01°)
OKLaboklab(54.8% -0.0824 0.0999)
OKLCHoklch(54.8% 0.13 129.5)
XYZxyz(11.8745, 17.3574, 4.0909)
Luminance0.1736 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587F20 #47207F
analogous
#7F7620 #587F20 #287F20
triadic
#587F20 #20587F #7F2058
tetradic
#587F20 #207F76 #47207F #7F2028
square
#587F20 #207F76 #47207F #7F2028
split-complementary
#587F20 #20287F #76207F
monochromatic
#141D07 #364E14 #587F20 #7AB02C #99D148

Accessibility & contrast

On white

4.70
#587F20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#587F20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587F20
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587F20#FFFFFF#000000##FFFFFF
##587F201.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85750F
Deuteranopia (green-blind)
#807329
Tritanopia (blue-blind)
#5B796D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #587f20;
/* rgb */ color: rgb(88, 127, 32);
/* oklch */ color: oklch(54.8% 0.130 129.5);
Tailwind
colors: {
  custom: {
    50: '#8ba462',
    500: '#587f20',
    950: '#000000',
  },
}
SCSS
$custom: #587f20;
$custom-light: #8ba462;
$custom-dark: #000000;
JSON
{
  "hex": "#587f20",
  "rgb": {
    "r": 88,
    "g": 127,
    "b": 32
  },
  "hsl": {
    "h": 84.632,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54803,
    "c": 0.12952,
    "h": 129.5
  },
  "luminance": 0.17358
}

Semantic roles & 50–950 ramp

primary
#587F20
secondary
#7449B2
accent
#45E386
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #587F20

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

Preview Lab → · Contrast checker → · Palette generator →

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