#586D17#586D17

#586D17 is a mid, moderate yellow-green. Relative luminance 0.131; OKLCH L 50.1% C 0.111 H 122.7°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#586D17
RGBrgb(88, 109, 23)
HSLhsl(75, 65%, 26%)
HSVhsv(75, 79%, 43%)
CMYKcmyk(19.3%, 0%, 78.9%, 57.3%)
CIE-LABlab(42.87, -20.53, 42.29)
CIE-LCHlch(42.87, 47.01, 115.89°)
OKLaboklab(50.06% -0.0602 0.0936)
OKLCHoklch(50.06% 0.111 122.7)
XYZxyz(9.6479, 13.0738, 2.8257)
Luminance0.1307 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#586D17 #2C176D
analogous
#6D5717 #586D17 #2D6D17
triadic
#586D17 #17586D #6D1758
tetradic
#586D17 #176D57 #2C176D #6D172D
square
#586D17 #176D57 #2C176D #6D172D
split-complementary
#586D17 #172D6D #57176D
monochromatic
#141905 #2F3A0C #586D17 #81A022 #AAD22C

Accessibility & contrast

On white

5.81
#586D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#586D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #586D17
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##586D17#FFFFFF#000000##FFFFFF
##586D171.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746604
Deuteranopia (green-blind)
#71651F
Tritanopia (blue-blind)
#5D675D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #586d17;
/* rgb */ color: rgb(88, 109, 23);
/* oklch */ color: oklch(50.1% 0.111 122.7);
Tailwind
colors: {
  custom: {
    50: '#8a965c',
    500: '#586d17',
    950: '#000000',
  },
}
SCSS
$custom: #586d17;
$custom-light: #8a965c;
$custom-dark: #000000;
JSON
{
  "hex": "#586d17",
  "rgb": {
    "r": 88,
    "g": 109,
    "b": 23
  },
  "hsl": {
    "h": 74.651,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.50055,
    "c": 0.11126,
    "h": 122.7
  },
  "luminance": 0.13074
}

Semantic roles & 50–950 ramp

primary
#586D17
secondary
#563DA3
accent
#40E869
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #586D17

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

Preview Lab → · Contrast checker → · Palette generator →

#586D17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva