#586A28#586A28

#586A28 is a mid, moderate yellow-green. Relative luminance 0.125; OKLCH L 49.4% C 0.094 H 122.7°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#586A28
RGBrgb(88, 106, 40)
HSLhsl(76, 45%, 29%)
HSVhsv(76, 62%, 42%)
CMYKcmyk(17%, 0%, 62.3%, 58.4%)
CIE-LABlab(42.06, -17.70, 34.04)
CIE-LCHlch(42.06, 38.36, 117.47°)
OKLaboklab(49.44% -0.0506 0.0789)
OKLCHoklch(49.44% 0.094 122.7)
XYZxyz(9.5616, 12.5359, 3.9230)
Luminance0.1254 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#586A28 #3A286A
analogous
#6A5B28 #586A28 #376A28
triadic
#586A28 #28586A #6A2858
tetradic
#586A28 #286A5B #3A286A #6A2837
square
#586A28 #286A5B #3A286A #6A2837
split-complementary
#586A28 #28376A #5B286A
monochromatic
#121608 #333E17 #586A28 #7D9639 #9FBD50

Accessibility & contrast

On white

5.99
#586A28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#586A28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #586A28
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##586A28#FFFFFF#000000##FFFFFF
##586A281.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706421
Deuteranopia (green-blind)
#6E632C
Tritanopia (blue-blind)
#5C655C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #586a28;
/* rgb */ color: rgb(88, 106, 40);
/* oklch */ color: oklch(49.4% 0.094 122.7);
Tailwind
colors: {
  custom: {
    50: '#899465',
    500: '#586a28',
    950: '#000000',
  },
}
SCSS
$custom: #586a28;
$custom-light: #899465;
$custom-dark: #000000;
JSON
{
  "hex": "#586a28",
  "rgb": {
    "r": 88,
    "g": 106,
    "b": 40
  },
  "hsl": {
    "h": 76.364,
    "s": 45.205,
    "l": 28.627
  },
  "oklch": {
    "l": 0.49439,
    "c": 0.09374,
    "h": 122.7
  },
  "luminance": 0.12536
}

Semantic roles & 50–950 ramp

primary
#586A28
secondary
#66519D
accent
#53D576
background
#F8F9F6
surface
#F0F1EB
border
#CBCBC6
text
#0C0D06
muted
#7D7E7A

Preview Lab

Preview with #586A28

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

Preview Lab → · Contrast checker → · Palette generator →

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