#587D20#587D20

#587D20 is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 54.3% C 0.127 H 129.0°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#587D20
RGBrgb(88, 125, 32)
HSLhsl(84, 59%, 31%)
HSVhsv(84, 74%, 49%)
CMYKcmyk(29.6%, 0%, 74.4%, 51%)
CIE-LABlab(48.07, -28.00, 43.94)
CIE-LCHlch(48.07, 52.10, 122.50°)
OKLaboklab(54.28% -0.0798 0.0986)
OKLCHoklch(54.28% 0.127 129)
XYZxyz(11.6188, 16.8459, 4.0057)
Luminance0.1685 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587D20 #45207D
analogous
#7D7320 #587D20 #297D20
triadic
#587D20 #20587D #7D2058
tetradic
#587D20 #207D73 #45207D #7D2029
square
#587D20 #207D73 #45207D #7D2029
split-complementary
#587D20 #20297D #73207D
monochromatic
#131C07 #364C14 #587D20 #7AAE2C #9AD047

Accessibility & contrast

On white

4.81
#587D20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #587D20
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587D20#FFFFFF#000000##FFFFFF
##587D201.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83740F
Deuteranopia (green-blind)
#7E7128
Tritanopia (blue-blind)
#5B776B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #587d20;
/* rgb */ color: rgb(88, 125, 32);
/* oklch */ color: oklch(54.3% 0.127 129.0);
Tailwind
colors: {
  custom: {
    50: '#8aa362',
    500: '#587d20',
    950: '#000000',
  },
}
SCSS
$custom: #587d20;
$custom-light: #8aa362;
$custom-dark: #000000;
JSON
{
  "hex": "#587d20",
  "rgb": {
    "r": 88,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 83.871,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54281,
    "c": 0.12683,
    "h": 129
  },
  "luminance": 0.16846
}

Semantic roles & 50–950 ramp

primary
#587D20
secondary
#7249B0
accent
#45E284
background
#F8FAF6
surface
#F0F3EB
border
#CBCDC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #587D20

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

Preview Lab → · Contrast checker → · Palette generator →

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