#587217#587217

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

Color values

HEX#587217
RGBrgb(88, 114, 23)
HSLhsl(77, 66%, 27%)
HSVhsv(77, 80%, 45%)
CMYKcmyk(22.8%, 0%, 79.8%, 55.3%)
CIE-LABlab(44.48, -23.10, 43.81)
CIE-LCHlch(44.48, 49.52, 117.80°)
OKLaboklab(51.35% -0.0672 0.0968)
OKLCHoklch(51.35% 0.118 124.8)
XYZxyz(10.1966, 14.1711, 3.0085)
Luminance0.1417 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587217 #311772
analogous
#725F17 #587217 #2B7217
triadic
#587217 #175872 #721758
tetradic
#587217 #17725F #311772 #72172B
square
#587217 #17725F #311772 #72172B
split-complementary
#587217 #172B72 #5F1772
monochromatic
#141905 #313F0D #587217 #7FA521 #A5D52E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##587217#FFFFFF#000000##FFFFFF
##5872171.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)
#796A02
Deuteranopia (green-blind)
#756920
Tritanopia (blue-blind)
#5C6C61
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #587217;
/* rgb */ color: rgb(88, 114, 23);
/* oklch */ color: oklch(51.4% 0.118 124.8);
Tailwind
colors: {
  custom: {
    50: '#8a9a5c',
    500: '#587217',
    950: '#000000',
  },
}
SCSS
$custom: #587217;
$custom-light: #8a9a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#587217",
  "rgb": {
    "r": 88,
    "g": 114,
    "b": 23
  },
  "hsl": {
    "h": 77.143,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.51352,
    "c": 0.11781,
    "h": 124.8
  },
  "luminance": 0.14171
}

Semantic roles & 50–950 ramp

primary
#587217
secondary
#5C3DA8
accent
#3EE96F
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #587217

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

Preview Lab → · Contrast checker → · Palette generator →

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