#587817#587817

#587817 is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 52.9% C 0.126 H 126.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#587817
RGBrgb(88, 120, 23)
HSLhsl(80, 68%, 28%)
HSVhsv(80, 81%, 47%)
CMYKcmyk(26.7%, 0%, 80.8%, 52.9%)
CIE-LABlab(46.40, -26.09, 45.61)
CIE-LCHlch(46.40, 52.54, 119.78°)
OKLaboklab(52.91% -0.0754 0.1006)
OKLCHoklch(52.91% 0.126 126.8)
XYZxyz(10.8957, 15.5693, 3.2416)
Luminance0.1557 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587817 #371778
analogous
#786717 #587817 #277817
triadic
#587817 #175878 #781758
tetradic
#587817 #177867 #371778 #781727
square
#587817 #177867 #371778 #781727
split-complementary
#587817 #172778 #671778
monochromatic
#131A05 #32450D #587817 #7EAB21 #A1D832

Accessibility & contrast

On white

5.10
#587817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#587817 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587817
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587817#FFFFFF#000000##FFFFFF
##5878171.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#7A6D21
Tritanopia (blue-blind)
#5C7266
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #587817;
/* rgb */ color: rgb(88, 120, 23);
/* oklch */ color: oklch(52.9% 0.126 126.8);
Tailwind
colors: {
  custom: {
    50: '#8b9f5d',
    500: '#587817',
    950: '#000000',
  },
}
SCSS
$custom: #587817;
$custom-light: #8b9f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#587817",
  "rgb": {
    "r": 88,
    "g": 120,
    "b": 23
  },
  "hsl": {
    "h": 79.794,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52914,
    "c": 0.12567,
    "h": 126.8
  },
  "luminance": 0.1557
}

Semantic roles & 50–950 ramp

primary
#587817
secondary
#623EAD
accent
#3DEB76
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #587817

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

Preview Lab → · Contrast checker → · Palette generator →

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