#587917#587917

#587917 is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 53.2% C 0.127 H 127.2°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#587917
RGBrgb(88, 121, 23)
HSLhsl(80, 68%, 28%)
HSVhsv(80, 81%, 47%)
CMYKcmyk(27.3%, 0%, 81%, 52.5%)
CIE-LABlab(46.73, -26.58, 45.91)
CIE-LCHlch(46.73, 53.05, 120.08°)
OKLaboklab(53.18% -0.0767 0.1012)
OKLCHoklch(53.18% 0.127 127.2)
XYZxyz(11.0166, 15.8111, 3.2819)
Luminance0.1581 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587917 #381779
analogous
#796917 #587917 #277917
triadic
#587917 #175879 #791758
tetradic
#587917 #177969 #381779 #791727
square
#587917 #177969 #381779 #791727
split-complementary
#587917 #172779 #691779
monochromatic
#131A05 #33460D #587917 #7DAC21 #A0D832

Accessibility & contrast

On white

5.05
#587917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#587917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587917
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587917#FFFFFF#000000##FFFFFF
##5879171.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#7B6E21
Tritanopia (blue-blind)
#5C7367
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #587917;
/* rgb */ color: rgb(88, 121, 23);
/* oklch */ color: oklch(53.2% 0.127 127.2);
Tailwind
colors: {
  custom: {
    50: '#8ba05d',
    500: '#587917',
    950: '#000000',
  },
}
SCSS
$custom: #587917;
$custom-light: #8ba05d;
$custom-dark: #000000;
JSON
{
  "hex": "#587917",
  "rgb": {
    "r": 88,
    "g": 121,
    "b": 23
  },
  "hsl": {
    "h": 80.204,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.53175,
    "c": 0.12697,
    "h": 127.2
  },
  "luminance": 0.15811
}

Semantic roles & 50–950 ramp

primary
#587917
secondary
#643EAE
accent
#3DEB77
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #587917

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

Preview Lab → · Contrast checker → · Palette generator →

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