#586A31#586A31

#586A31 is a mid, moderate yellow-green. Relative luminance 0.126; OKLCH L 49.6% C 0.084 H 123.9°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#586A31
RGBrgb(88, 106, 49)
HSLhsl(79, 37%, 30%)
HSVhsv(79, 54%, 42%)
CMYKcmyk(17%, 0%, 53.8%, 58.4%)
CIE-LABlab(42.16, -16.77, 29.50)
CIE-LCHlch(42.16, 33.94, 119.62°)
OKLaboklab(49.56% -0.0471 0.0701)
OKLCHoklch(49.56% 0.084 123.9)
XYZxyz(9.7329, 12.6045, 4.8253)
Luminance0.1260 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#586A31 #43316A
analogous
#6A5F31 #586A31 #3C6A31
triadic
#586A31 #31586A #6A3158
tetradic
#586A31 #316A5F #43316A #6A313C
square
#586A31 #316A5F #43316A #6A313C
split-complementary
#586A31 #313C6A #5F316A
monochromatic
#13160A #35401E #586A31 #7B9444 #9AB560

Accessibility & contrast

On white

5.96
#586A31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#586A31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #586A31
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##586A31#FFFFFF#000000##FFFFFF
##586A311.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F642C
Deuteranopia (green-blind)
#6D6334
Tritanopia (blue-blind)
#5C655D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #586a31;
/* rgb */ color: rgb(88, 106, 49);
/* oklch */ color: oklch(49.6% 0.084 123.9);
Tailwind
colors: {
  custom: {
    50: '#88946b',
    500: '#586a31',
    950: '#000000',
  },
}
SCSS
$custom: #586a31;
$custom-light: #88946b;
$custom-dark: #000000;
JSON
{
  "hex": "#586a31",
  "rgb": {
    "r": 88,
    "g": 106,
    "b": 49
  },
  "hsl": {
    "h": 78.947,
    "s": 36.774,
    "l": 30.392
  },
  "oklch": {
    "l": 0.49558,
    "c": 0.08446,
    "h": 123.9
  },
  "luminance": 0.12605
}

Semantic roles & 50–950 ramp

primary
#586A31
secondary
#705C9B
accent
#5BCD7F
background
#F8F9F6
surface
#F0F1EB
border
#CBCBC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #586A31

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

Preview Lab → · Contrast checker → · Palette generator →

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