#587F26#587F26

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

Color values

HEX#587F26
RGBrgb(88, 127, 38)
HSLhsl(86, 54%, 32%)
HSVhsv(86, 70%, 50%)
CMYKcmyk(30.7%, 0%, 70.1%, 50.2%)
CIE-LABlab(48.75, -28.52, 42.19)
CIE-LCHlch(48.75, 50.92, 124.06°)
OKLaboklab(54.85% -0.0807 0.0958)
OKLCHoklch(54.85% 0.125 130.1)
XYZxyz(11.9636, 17.3930, 4.5602)
Luminance0.1739 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587F26 #4D267F
analogous
#7F7926 #587F26 #2C7F26
triadic
#587F26 #26587F #7F2658
tetradic
#587F26 #267F79 #4D267F #7F262C
square
#587F26 #267F79 #4D267F #7F262C
split-complementary
#587F26 #262C7F #79267F
monochromatic
#17210A #375018 #587F26 #79AE34 #97CC54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##587F26#FFFFFF#000000##FFFFFF
##587F261.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)
#857619
Deuteranopia (green-blind)
#80732D
Tritanopia (blue-blind)
#5A796D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #587f26;
/* rgb */ color: rgb(88, 127, 38);
/* oklch */ color: oklch(54.9% 0.125 130.1);
Tailwind
colors: {
  custom: {
    50: '#8aa466',
    500: '#587f26',
    950: '#000000',
  },
}
SCSS
$custom: #587f26;
$custom-light: #8aa466;
$custom-dark: #000000;
JSON
{
  "hex": "#587f26",
  "rgb": {
    "r": 88,
    "g": 127,
    "b": 38
  },
  "hsl": {
    "h": 86.292,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54854,
    "c": 0.12529,
    "h": 130.1
  },
  "luminance": 0.17393
}

Semantic roles & 50–950 ramp

primary
#587F26
secondary
#7A51B0
accent
#4ADD8B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #587F26

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

Preview Lab → · Contrast checker → · Palette generator →

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