#587218#587218

#587218 is a mid, moderate yellow-green. Relative luminance 0.142; OKLCH L 51.4% C 0.117 H 124.8°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#587218
RGBrgb(88, 114, 24)
HSLhsl(77, 65%, 27%)
HSVhsv(77, 79%, 45%)
CMYKcmyk(22.8%, 0%, 78.9%, 55.3%)
CIE-LABlab(44.48, -23.04, 43.46)
CIE-LCHlch(44.48, 49.19, 117.93°)
OKLaboklab(51.36% -0.067 0.0962)
OKLCHoklch(51.36% 0.117 124.8)
XYZxyz(10.2068, 14.1752, 3.0623)
Luminance0.1417 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587218 #321872
analogous
#725F18 #587218 #2B7218
triadic
#587218 #185872 #721858
tetradic
#587218 #18725F #321872 #72182B
square
#587218 #18725F #321872 #72182B
split-complementary
#587218 #182B72 #5F1872
monochromatic
#141905 #313F0D #587218 #7FA523 #A5D431

Accessibility & contrast

On white

5.48
#587218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#587218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587218
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587218#FFFFFF#000000##FFFFFF
##5872181.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A04
Deuteranopia (green-blind)
#756921
Tritanopia (blue-blind)
#5C6C61
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #587218;
/* rgb */ color: rgb(88, 114, 24);
/* oklch */ color: oklch(51.4% 0.117 124.8);
Tailwind
colors: {
  custom: {
    50: '#8a9a5d',
    500: '#587218',
    950: '#000000',
  },
}
SCSS
$custom: #587218;
$custom-light: #8a9a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#587218",
  "rgb": {
    "r": 88,
    "g": 114,
    "b": 24
  },
  "hsl": {
    "h": 77.333,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.51358,
    "c": 0.11723,
    "h": 124.8
  },
  "luminance": 0.14175
}

Semantic roles & 50–950 ramp

primary
#587218
secondary
#5D3EA7
accent
#40E870
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #587218

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

Preview Lab → · Contrast checker → · Palette generator →

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