#587C18#587C18

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

Color values

HEX#587C18
RGBrgb(88, 124, 24)
HSLhsl(82, 68%, 29%)
HSVhsv(82, 81%, 49%)
CMYKcmyk(29%, 0%, 80.6%, 51.4%)
CIE-LABlab(47.70, -27.99, 46.48)
CIE-LCHlch(47.70, 54.25, 121.06°)
OKLaboklab(53.97% -0.0804 0.1026)
OKLCHoklch(53.97% 0.13 128.1)
XYZxyz(11.3970, 16.5557, 3.4591)
Luminance0.1656 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587C18 #3C187C
analogous
#7C6E18 #587C18 #267C18
triadic
#587C18 #18587C #7C1858
tetradic
#587C18 #187C6E #3C187C #7C1826
square
#587C18 #187C6E #3C187C #7C1826
split-complementary
#587C18 #18267C #6E187C
monochromatic
#121A05 #34490E #587C18 #7CAF22 #9ED836

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##587C18#FFFFFF#000000##FFFFFF
##587C181.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)
#837300
Deuteranopia (green-blind)
#7E7022
Tritanopia (blue-blind)
#5B7669
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #587c18;
/* rgb */ color: rgb(88, 124, 24);
/* oklch */ color: oklch(54.0% 0.130 128.1);
Tailwind
colors: {
  custom: {
    50: '#8ba25e',
    500: '#587c18',
    950: '#000000',
  },
}
SCSS
$custom: #587c18;
$custom-light: #8ba25e;
$custom-dark: #000000;
JSON
{
  "hex": "#587c18",
  "rgb": {
    "r": 88,
    "g": 124,
    "b": 24
  },
  "hsl": {
    "h": 81.6,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53965,
    "c": 0.13034,
    "h": 128.1
  },
  "luminance": 0.16556
}

Semantic roles & 50–950 ramp

primary
#587C18
secondary
#683FB1
accent
#3DEA7C
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0F05
muted
#7D7E79

Preview Lab

Preview with #587C18

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

Preview Lab → · Contrast checker → · Palette generator →

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