#587126#587126

#587126 is a mid, moderate yellow-green. Relative luminance 0.140; OKLCH L 51.2% C 0.106 H 125.7°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#587126
RGBrgb(88, 113, 38)
HSLhsl(80, 50%, 30%)
HSVhsv(80, 66%, 44%)
CMYKcmyk(22.1%, 0%, 66.4%, 55.7%)
CIE-LABlab(44.27, -21.56, 37.43)
CIE-LCHlch(44.27, 43.20, 119.94°)
OKLaboklab(51.22% -0.0616 0.0858)
OKLCHoklch(51.22% 0.106 125.7)
XYZxyz(10.2795, 14.0248, 3.9988)
Luminance0.1403 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587126 #3F2671
analogous
#716526 #587126 #337126
triadic
#587126 #265871 #712658
tetradic
#587126 #267165 #3F2671 #712633
square
#587126 #267165 #3F2671 #712633
split-complementary
#587126 #263371 #652671
monochromatic
#121708 #344317 #587126 #7C9F35 #9CC34E

Accessibility & contrast

On white

5.52
#587126 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#587126 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587126
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587126#FFFFFF#000000##FFFFFF
##5871261.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776A1D
Deuteranopia (green-blind)
#74682C
Tritanopia (blue-blind)
#5C6C61
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #587126;
/* rgb */ color: rgb(88, 113, 38);
/* oklch */ color: oklch(51.2% 0.106 125.7);
Tailwind
colors: {
  custom: {
    50: '#899a64',
    500: '#587126',
    950: '#000000',
  },
}
SCSS
$custom: #587126;
$custom-light: #899a64;
$custom-dark: #000000;
JSON
{
  "hex": "#587126",
  "rgb": {
    "r": 88,
    "g": 113,
    "b": 38
  },
  "hsl": {
    "h": 80,
    "s": 49.669,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51218,
    "c": 0.10562,
    "h": 125.7
  },
  "luminance": 0.14025
}

Semantic roles & 50–950 ramp

primary
#587126
secondary
#6B4FA4
accent
#4FD97D
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #587126

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

Preview Lab → · Contrast checker → · Palette generator →

#587126 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva