#587018#587018

#587018 is a mid, moderate yellow-green. Relative luminance 0.137; OKLCH L 50.8% C 0.115 H 124.1°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#587018
RGBrgb(88, 112, 24)
HSLhsl(76, 65%, 27%)
HSVhsv(76, 79%, 44%)
CMYKcmyk(21.4%, 0%, 78.6%, 56.1%)
CIE-LABlab(43.84, -22.02, 42.85)
CIE-LCHlch(43.84, 48.18, 117.20°)
OKLaboklab(50.84% -0.0642 0.0949)
OKLCHoklch(50.84% 0.115 124.1)
XYZxyz(9.9836, 13.7289, 2.9879)
Luminance0.1373 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587018 #301870
analogous
#705C18 #587018 #2C7018
triadic
#587018 #185870 #701858
tetradic
#587018 #18705C #301870 #70182C
square
#587018 #18705C #301870 #70182C
split-complementary
#587018 #182C70 #5C1870
monochromatic
#141905 #303E0D #587018 #80A223 #A6D330

Accessibility & contrast

On white

5.61
#587018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#587018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587018
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587018#FFFFFF#000000##FFFFFF
##5870181.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776805
Deuteranopia (green-blind)
#746720
Tritanopia (blue-blind)
#5D6A5F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #587018;
/* rgb */ color: rgb(88, 112, 24);
/* oklch */ color: oklch(50.8% 0.115 124.1);
Tailwind
colors: {
  custom: {
    50: '#8a995c',
    500: '#587018',
    950: '#000000',
  },
}
SCSS
$custom: #587018;
$custom-light: #8a995c;
$custom-dark: #000000;
JSON
{
  "hex": "#587018",
  "rgb": {
    "r": 88,
    "g": 112,
    "b": 24
  },
  "hsl": {
    "h": 76.364,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.50839,
    "c": 0.1146,
    "h": 124.1
  },
  "luminance": 0.13729
}

Semantic roles & 50–950 ramp

primary
#587018
secondary
#5A3EA5
accent
#40E86E
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #587018

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

Preview Lab → · Contrast checker → · Palette generator →

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