#587F21#587F21

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

Color values

HEX#587F21
RGBrgb(88, 127, 33)
HSLhsl(85, 59%, 31%)
HSVhsv(85, 74%, 50%)
CMYKcmyk(30.7%, 0%, 74%, 50.2%)
CIE-LABlab(48.71, -28.89, 44.20)
CIE-LCHlch(48.71, 52.80, 123.17°)
OKLaboklab(54.81% -0.0821 0.0993)
OKLCHoklch(54.81% 0.129 129.6)
XYZxyz(11.8883, 17.3629, 4.1636)
Luminance0.1736 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587F21 #48217F
analogous
#7F7721 #587F21 #297F21
triadic
#587F21 #21587F #7F2158
tetradic
#587F21 #217F77 #48217F #7F2129
square
#587F21 #217F77 #48217F #7F2129
split-complementary
#587F21 #21297F #77217F
monochromatic
#151E08 #364E14 #587F21 #7AB02E #99D04A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##587F21#FFFFFF#000000##FFFFFF
##587F211.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)
#857611
Deuteranopia (green-blind)
#80732A
Tritanopia (blue-blind)
#5B796D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #587f21;
/* rgb */ color: rgb(88, 127, 33);
/* oklch */ color: oklch(54.8% 0.129 129.6);
Tailwind
colors: {
  custom: {
    50: '#8ba463',
    500: '#587f21',
    950: '#000000',
  },
}
SCSS
$custom: #587f21;
$custom-light: #8ba463;
$custom-dark: #000000;
JSON
{
  "hex": "#587f21",
  "rgb": {
    "r": 88,
    "g": 127,
    "b": 33
  },
  "hsl": {
    "h": 84.894,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54811,
    "c": 0.12886,
    "h": 129.6
  },
  "luminance": 0.17363
}

Semantic roles & 50–950 ramp

primary
#587F21
secondary
#754AB2
accent
#46E287
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #587F21

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

Preview Lab → · Contrast checker → · Palette generator →

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