#586A18#586A18

#586A18 is a mid, moderate yellow-green. Relative luminance 0.124; OKLCH L 49.3% C 0.107 H 121.4°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#586A18
RGBrgb(88, 106, 24)
HSLhsl(73, 63%, 25%)
HSVhsv(73, 77%, 42%)
CMYKcmyk(17%, 0%, 77.4%, 58.4%)
CIE-LABlab(41.92, -18.90, 41.01)
CIE-LCHlch(41.92, 45.15, 114.74°)
OKLaboklab(49.29% -0.0556 0.0911)
OKLCHoklch(49.29% 0.107 121.4)
XYZxyz(9.3436, 12.4487, 2.7746)
Luminance0.1245 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#586A18 #2A186A
analogous
#6A5318 #586A18 #2F6A18
triadic
#586A18 #18586A #6A1858
tetradic
#586A18 #186A53 #2A186A #6A182F
square
#586A18 #186A53 #2A186A #6A182F
split-complementary
#586A18 #182F6A #53186A
monochromatic
#151906 #2F380D #586A18 #819C23 #ABCE2F

Accessibility & contrast

On white

6.02
#586A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#586A18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #586A18
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##586A18#FFFFFF#000000##FFFFFF
##586A181.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716308
Deuteranopia (green-blind)
#6F631F
Tritanopia (blue-blind)
#5D645A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #586a18;
/* rgb */ color: rgb(88, 106, 24);
/* oklch */ color: oklch(49.3% 0.107 121.4);
Tailwind
colors: {
  custom: {
    50: '#8a945c',
    500: '#586a18',
    950: '#000000',
  },
}
SCSS
$custom: #586a18;
$custom-light: #8a945c;
$custom-dark: #000000;
JSON
{
  "hex": "#586a18",
  "rgb": {
    "r": 88,
    "g": 106,
    "b": 24
  },
  "hsl": {
    "h": 73.171,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.49287,
    "c": 0.10669,
    "h": 121.4
  },
  "luminance": 0.12449
}

Semantic roles & 50–950 ramp

primary
#586A18
secondary
#533EA0
accent
#42E666
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #586A18

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

Preview Lab → · Contrast checker → · Palette generator →

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