#586B28#586B28

#586B28 is a mid, moderate yellow-green. Relative luminance 0.127; OKLCH L 49.7% C 0.095 H 123.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#586B28
RGBrgb(88, 107, 40)
HSLhsl(77, 46%, 29%)
HSVhsv(77, 63%, 42%)
CMYKcmyk(17.8%, 0%, 62.6%, 58%)
CIE-LABlab(42.37, -18.23, 34.39)
CIE-LCHlch(42.37, 38.93, 117.93°)
OKLaboklab(49.7% -0.0521 0.0797)
OKLCHoklch(49.7% 0.095 123.2)
XYZxyz(9.6653, 12.7433, 3.9576)
Luminance0.1274 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#586B28 #3B286B
analogous
#6B5D28 #586B28 #376B28
triadic
#586B28 #28586B #6B2858
tetradic
#586B28 #286B5D #3B286B #6B2837
square
#586B28 #286B5D #3B286B #6B2837
split-complementary
#586B28 #28376B #5D286B
monochromatic
#121608 #333E17 #586B28 #7D9839 #9EBE50

Accessibility & contrast

On white

5.92
#586B28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#586B28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #586B28
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##586B28#FFFFFF#000000##FFFFFF
##586B281.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716521
Deuteranopia (green-blind)
#6F642D
Tritanopia (blue-blind)
#5C665D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #586b28;
/* rgb */ color: rgb(88, 107, 40);
/* oklch */ color: oklch(49.7% 0.095 123.2);
Tailwind
colors: {
  custom: {
    50: '#899565',
    500: '#586b28',
    950: '#000000',
  },
}
SCSS
$custom: #586b28;
$custom-light: #899565;
$custom-dark: #000000;
JSON
{
  "hex": "#586b28",
  "rgb": {
    "r": 88,
    "g": 107,
    "b": 40
  },
  "hsl": {
    "h": 77.015,
    "s": 45.578,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49695,
    "c": 0.09519,
    "h": 123.2
  },
  "luminance": 0.12743
}

Semantic roles & 50–950 ramp

primary
#586B28
secondary
#67519D
accent
#53D578
background
#F8F9F6
surface
#F0F1EB
border
#CBCBC6
text
#0C0D06
muted
#7D7E7A

Preview Lab

Preview with #586B28

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

Preview Lab → · Contrast checker → · Palette generator →

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