#586C18#586C18

#586C18 is a mid, moderate yellow-green. Relative luminance 0.129; OKLCH L 49.8% C 0.109 H 122.3°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#586C18
RGBrgb(88, 108, 24)
HSLhsl(74, 64%, 26%)
HSVhsv(74, 78%, 42%)
CMYKcmyk(18.5%, 0%, 77.8%, 57.6%)
CIE-LABlab(42.56, -19.95, 41.62)
CIE-LCHlch(42.56, 46.16, 115.61°)
OKLaboklab(49.8% -0.0585 0.0924)
OKLCHoklch(49.8% 0.109 122.3)
XYZxyz(9.5521, 12.8658, 2.8441)
Luminance0.1287 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#586C18 #2C186C
analogous
#6C5618 #586C18 #2E6C18
triadic
#586C18 #18586C #6C1858
tetradic
#586C18 #186C56 #2C186C #6C182E
square
#586C18 #186C56 #2C186C #6C182E
split-complementary
#586C18 #182E6C #56186C
monochromatic
#141906 #2F3A0D #586C18 #819E23 #AAD02E

Accessibility & contrast

On white

5.88
#586C18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#586C18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #586C18
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##586C18#FFFFFF#000000##FFFFFF
##586C181.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736507
Deuteranopia (green-blind)
#706420
Tritanopia (blue-blind)
#5D665C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #586c18;
/* rgb */ color: rgb(88, 108, 24);
/* oklch */ color: oklch(49.8% 0.109 122.3);
Tailwind
colors: {
  custom: {
    50: '#8a965c',
    500: '#586c18',
    950: '#000000',
  },
}
SCSS
$custom: #586c18;
$custom-light: #8a965c;
$custom-dark: #000000;
JSON
{
  "hex": "#586c18",
  "rgb": {
    "r": 88,
    "g": 108,
    "b": 24
  },
  "hsl": {
    "h": 74.286,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.49803,
    "c": 0.10933,
    "h": 122.3
  },
  "luminance": 0.12866
}

Semantic roles & 50–950 ramp

primary
#586C18
secondary
#563EA2
accent
#41E769
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #586C18

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

Preview Lab → · Contrast checker → · Palette generator →

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