#587F28#587F28

#587F28 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.9% C 0.124 H 130.3°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#587F28
RGBrgb(88, 127, 40)
HSLhsl(87, 52%, 33%)
HSVhsv(87, 69%, 50%)
CMYKcmyk(30.7%, 0%, 68.5%, 50.2%)
CIE-LABlab(48.77, -28.36, 41.34)
CIE-LCHlch(48.77, 50.13, 124.45°)
OKLaboklab(54.87% -0.0801 0.0943)
OKLCHoklch(54.87% 0.124 130.3)
XYZxyz(11.9968, 17.4063, 4.7347)
Luminance0.1741 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587F28 #4F287F
analogous
#7F7B28 #587F28 #2C7F28
triadic
#587F28 #28587F #7F2858
tetradic
#587F28 #287F7B #4F287F #7F282C
square
#587F28 #287F7B #4F287F #7F282C
split-complementary
#587F28 #282C7F #7B287F
monochromatic
#18220B #385019 #587F28 #78AE37 #97CA57

Accessibility & contrast

On white

4.69
#587F28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#587F28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587F28
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587F28#FFFFFF#000000##FFFFFF
##587F281.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85761C
Deuteranopia (green-blind)
#7F732F
Tritanopia (blue-blind)
#5A7A6D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #587f28;
/* rgb */ color: rgb(88, 127, 40);
/* oklch */ color: oklch(54.9% 0.124 130.3);
Tailwind
colors: {
  custom: {
    50: '#8aa467',
    500: '#587f28',
    950: '#000000',
  },
}
SCSS
$custom: #587f28;
$custom-light: #8aa467;
$custom-dark: #000000;
JSON
{
  "hex": "#587f28",
  "rgb": {
    "r": 88,
    "g": 127,
    "b": 40
  },
  "hsl": {
    "h": 86.897,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54872,
    "c": 0.12375,
    "h": 130.3
  },
  "luminance": 0.17407
}

Semantic roles & 50–950 ramp

primary
#587F28
secondary
#7D54AF
accent
#4CDC8C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #587F28

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

Preview Lab → · Contrast checker → · Palette generator →

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