#586A1F#586A1F

#586A1F is a mid, moderate yellow-green. Relative luminance 0.125; OKLCH L 49.3% C 0.102 H 121.9°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#586A1F
RGBrgb(88, 106, 31)
HSLhsl(74, 55%, 27%)
HSVhsv(74, 71%, 42%)
CMYKcmyk(17%, 0%, 70.8%, 58.4%)
CIE-LABlab(41.97, -18.44, 38.18)
CIE-LCHlch(41.97, 42.40, 115.78°)
OKLaboklab(49.35% -0.0536 0.0863)
OKLCHoklch(49.35% 0.102 121.9)
XYZxyz(9.4260, 12.4817, 3.2087)
Luminance0.1248 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#586A1F #311F6A
analogous
#6A571F #586A1F #336A1F
triadic
#586A1F #1F586A #6A1F58
tetradic
#586A1F #1F6A57 #311F6A #6A1F33
square
#586A1F #1F6A57 #311F6A #6A1F33
split-complementary
#586A1F #1F336A #571F6A
monochromatic
#141807 #313B11 #586A1F #7F992D #A5C63D

Accessibility & contrast

On white

6.01
#586A1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#586A1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #586A1F
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##586A1F#FFFFFF#000000##FFFFFF
##586A1F1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716314
Deuteranopia (green-blind)
#6E6325
Tritanopia (blue-blind)
#5D645B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #586a1f;
/* rgb */ color: rgb(88, 106, 31);
/* oklch */ color: oklch(49.3% 0.102 121.9);
Tailwind
colors: {
  custom: {
    50: '#89945f',
    500: '#586a1f',
    950: '#000000',
  },
}
SCSS
$custom: #586a1f;
$custom-light: #89945f;
$custom-dark: #000000;
JSON
{
  "hex": "#586a1f",
  "rgb": {
    "r": 88,
    "g": 106,
    "b": 31
  },
  "hsl": {
    "h": 74.4,
    "s": 54.745,
    "l": 26.863
  },
  "oklch": {
    "l": 0.49345,
    "c": 0.10163,
    "h": 121.9
  },
  "luminance": 0.12482
}

Semantic roles & 50–950 ramp

primary
#586A1F
secondary
#5C479E
accent
#4ADE6D
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D05
muted
#7D7E79

Preview Lab

Preview with #586A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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