#587B17#587B17

#587B17 is a mid, vivid yellow-green. Relative luminance 0.163; OKLCH L 53.7% C 0.130 H 127.8°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#587B17
RGBrgb(88, 123, 23)
HSLhsl(81, 68%, 29%)
HSVhsv(81, 81%, 48%)
CMYKcmyk(28.5%, 0%, 81.3%, 51.8%)
CIE-LABlab(47.37, -27.56, 46.50)
CIE-LCHlch(47.37, 54.05, 120.65°)
OKLaboklab(53.7% -0.0793 0.1025)
OKLCHoklch(53.7% 0.13 127.8)
XYZxyz(11.2621, 16.3022, 3.3637)
Luminance0.1630 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587B17 #3A177B
analogous
#7B6C17 #587B17 #267B17
triadic
#587B17 #17587B #7B1758
tetradic
#587B17 #177B6C #3A177B #7B1726
square
#587B17 #177B6C #3A177B #7B1726
split-complementary
#587B17 #17267B #6C177B
monochromatic
#121A05 #33470D #587B17 #7DAF21 #9FD933

Accessibility & contrast

On white

4.93
#587B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#587B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587B17
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587B17#FFFFFF#000000##FFFFFF
##587B171.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7D7022
Tritanopia (blue-blind)
#5B7569
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #587b17;
/* rgb */ color: rgb(88, 123, 23);
/* oklch */ color: oklch(53.7% 0.130 127.8);
Tailwind
colors: {
  custom: {
    50: '#8ba15e',
    500: '#587b17',
    950: '#000000',
  },
}
SCSS
$custom: #587b17;
$custom-light: #8ba15e;
$custom-dark: #000000;
JSON
{
  "hex": "#587b17",
  "rgb": {
    "r": 88,
    "g": 123,
    "b": 23
  },
  "hsl": {
    "h": 81,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53698,
    "c": 0.12957,
    "h": 127.8
  },
  "luminance": 0.16302
}

Semantic roles & 50–950 ramp

primary
#587B17
secondary
#663EB0
accent
#3CEB7A
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0F05
muted
#7D7E79

Preview Lab

Preview with #587B17

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

Preview Lab → · Contrast checker → · Palette generator →

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