#587B20#587B20

#587B20 is a mid, vivid yellow-green. Relative luminance 0.163; OKLCH L 53.8% C 0.124 H 128.4°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#587B20
RGBrgb(88, 123, 32)
HSLhsl(83, 59%, 30%)
HSVhsv(83, 74%, 48%)
CMYKcmyk(28.5%, 0%, 74%, 51.8%)
CIE-LABlab(47.42, -27.03, 43.30)
CIE-LCHlch(47.42, 51.04, 121.97°)
OKLaboklab(53.76% -0.0771 0.0972)
OKLCHoklch(53.76% 0.124 128.4)
XYZxyz(11.3682, 16.3446, 3.9221)
Luminance0.1635 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587B20 #43207B
analogous
#7B7020 #587B20 #2A7B20
triadic
#587B20 #20587B #7B2058
tetradic
#587B20 #207B70 #43207B #7B202A
square
#587B20 #207B70 #43207B #7B202A
split-complementary
#587B20 #202A7B #70207B
monochromatic
#131A07 #354A13 #587B20 #7BAC2D #9ACF46

Accessibility & contrast

On white

4.92
#587B20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#587B20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587B20
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587B20#FFFFFF#000000##FFFFFF
##587B201.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817210
Deuteranopia (green-blind)
#7C7028
Tritanopia (blue-blind)
#5B7569
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #587b20;
/* rgb */ color: rgb(88, 123, 32);
/* oklch */ color: oklch(53.8% 0.124 128.4);
Tailwind
colors: {
  custom: {
    50: '#8aa162',
    500: '#587b20',
    950: '#000000',
  },
}
SCSS
$custom: #587b20;
$custom-light: #8aa162;
$custom-dark: #000000;
JSON
{
  "hex": "#587b20",
  "rgb": {
    "r": 88,
    "g": 123,
    "b": 32
  },
  "hsl": {
    "h": 83.077,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.5376,
    "c": 0.12413,
    "h": 128.4
  },
  "luminance": 0.16345
}

Semantic roles & 50–950 ramp

primary
#587B20
secondary
#7049AE
accent
#46E282
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0F05
muted
#7D7E7A

Preview Lab

Preview with #587B20

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

Preview Lab → · Contrast checker → · Palette generator →

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