#587C21#587C21

#587C21 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 54.0% C 0.125 H 128.8°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#587C21
RGBrgb(88, 124, 33)
HSLhsl(84, 58%, 31%)
HSVhsv(84, 73%, 49%)
CMYKcmyk(29%, 0%, 73.4%, 51.4%)
CIE-LABlab(47.75, -27.44, 43.23)
CIE-LCHlch(47.75, 51.21, 122.41°)
OKLaboklab(54.03% -0.0782 0.0973)
OKLCHoklch(54.03% 0.125 128.8)
XYZxyz(11.5066, 16.5995, 4.0363)
Luminance0.1660 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587C21 #45217C
analogous
#7C7221 #587C21 #2A7C21
triadic
#587C21 #21587C #7C2158
tetradic
#587C21 #217C72 #45217C #7C212A
square
#587C21 #217C72 #45217C #7C212A
split-complementary
#587C21 #212A7C #72217C
monochromatic
#131B07 #364C14 #587C21 #7AAC2E #9ACF49

Accessibility & contrast

On white

4.86
#587C21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#587C21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587C21
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587C21#FFFFFF#000000##FFFFFF
##587C211.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827312
Deuteranopia (green-blind)
#7D7129
Tritanopia (blue-blind)
#5B766A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #587c21;
/* rgb */ color: rgb(88, 124, 33);
/* oklch */ color: oklch(54.0% 0.125 128.8);
Tailwind
colors: {
  custom: {
    50: '#8aa263',
    500: '#587c21',
    950: '#000000',
  },
}
SCSS
$custom: #587c21;
$custom-light: #8aa263;
$custom-dark: #000000;
JSON
{
  "hex": "#587c21",
  "rgb": {
    "r": 88,
    "g": 124,
    "b": 33
  },
  "hsl": {
    "h": 83.736,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54029,
    "c": 0.12481,
    "h": 128.8
  },
  "luminance": 0.166
}

Semantic roles & 50–950 ramp

primary
#587C21
secondary
#724AAF
accent
#47E184
background
#F8FAF6
surface
#F0F3EB
border
#CBCDC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #587C21

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

Preview Lab → · Contrast checker → · Palette generator →

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