#587C1A#587C1A

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

Color values

HEX#587C1A
RGBrgb(88, 124, 26)
HSLhsl(82, 65%, 29%)
HSVhsv(82, 79%, 49%)
CMYKcmyk(29%, 0%, 79%, 51.4%)
CIE-LABlab(47.71, -27.88, 45.81)
CIE-LCHlch(47.71, 53.63, 121.33°)
OKLaboklab(53.98% -0.08 0.1015)
OKLCHoklch(53.98% 0.129 128.2)
XYZxyz(11.4186, 16.5643, 3.5727)
Luminance0.1656 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587C1A #3E1A7C
analogous
#7C6F1A #587C1A #277C1A
triadic
#587C1A #1A587C #7C1A58
tetradic
#587C1A #1A7C6F #3E1A7C #7C1A27
square
#587C1A #1A7C6F #3E1A7C #7C1A27
split-complementary
#587C1A #1A277C #6F1A7C
monochromatic
#121905 #34490F #587C1A #7CAF25 #9DD63B

Accessibility & contrast

On white

4.87
#587C1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#587C1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587C1A
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587C1A#FFFFFF#000000##FFFFFF
##587C1A1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #587c1a;
/* rgb */ color: rgb(88, 124, 26);
/* oklch */ color: oklch(54.0% 0.129 128.2);
Tailwind
colors: {
  custom: {
    50: '#8ba25f',
    500: '#587c1a',
    950: '#000000',
  },
}
SCSS
$custom: #587c1a;
$custom-light: #8ba25f;
$custom-dark: #000000;
JSON
{
  "hex": "#587c1a",
  "rgb": {
    "r": 88,
    "g": 124,
    "b": 26
  },
  "hsl": {
    "h": 82.041,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53977,
    "c": 0.12923,
    "h": 128.2
  },
  "luminance": 0.16565
}

Semantic roles & 50–950 ramp

primary
#587C1A
secondary
#6A42B0
accent
#40E87E
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0F05
muted
#7D7E79

Preview Lab

Preview with #587C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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