#586A21#586A21

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

Color values

HEX#586A21
RGBrgb(88, 106, 33)
HSLhsl(75, 53%, 27%)
HSVhsv(75, 69%, 42%)
CMYKcmyk(17%, 0%, 68.9%, 58.4%)
CIE-LABlab(41.99, -18.29, 37.30)
CIE-LCHlch(41.99, 41.54, 116.12°)
OKLaboklab(49.36% -0.053 0.0848)
OKLCHoklch(49.36% 0.1 122)
XYZxyz(9.4532, 12.4926, 3.3518)
Luminance0.1249 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#586A21 #33216A
analogous
#6A5821 #586A21 #336A21
triadic
#586A21 #21586A #6A2158
tetradic
#586A21 #216A58 #33216A #6A2133
square
#586A21 #216A58 #33216A #6A2133
split-complementary
#586A21 #21336A #58216A
monochromatic
#131707 #313B12 #586A21 #7F9930 #A4C441

Accessibility & contrast

On white

6.00
#586A21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #586A21
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##586A21#FFFFFF#000000##FFFFFF
##586A211.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #586a21;
/* rgb */ color: rgb(88, 106, 33);
/* oklch */ color: oklch(49.4% 0.100 122.0);
Tailwind
colors: {
  custom: {
    50: '#899460',
    500: '#586a21',
    950: '#000000',
  },
}
SCSS
$custom: #586a21;
$custom-light: #899460;
$custom-dark: #000000;
JSON
{
  "hex": "#586a21",
  "rgb": {
    "r": 88,
    "g": 106,
    "b": 33
  },
  "hsl": {
    "h": 74.795,
    "s": 52.518,
    "l": 27.255
  },
  "oklch": {
    "l": 0.49363,
    "c": 0.10002,
    "h": 122
  },
  "luminance": 0.12493
}

Semantic roles & 50–950 ramp

primary
#586A21
secondary
#5E499E
accent
#4CDC6F
background
#F8F9F5
surface
#F0F1EA
border
#CBCBC6
text
#0C0D05
muted
#7D7E79

Preview Lab

Preview with #586A21

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

Preview Lab → · Contrast checker → · Palette generator →

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