#586F20#586F20

#586F20 is a mid, moderate yellow-green. Relative luminance 0.135; OKLCH L 50.6% C 0.108 H 124.2°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#586F20
RGBrgb(88, 111, 32)
HSLhsl(77, 55%, 28%)
HSVhsv(77, 71%, 44%)
CMYKcmyk(20.7%, 0%, 71.2%, 56.5%)
CIE-LABlab(43.58, -20.99, 39.40)
CIE-LCHlch(43.58, 44.64, 118.05°)
OKLaboklab(50.64% -0.0606 0.0891)
OKLCHoklch(50.64% 0.108 124.2)
XYZxyz(9.9697, 13.5478, 3.4560)
Luminance0.1355 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#586F20 #37206F
analogous
#6F5E20 #586F20 #306F20
triadic
#586F20 #20586F #6F2058
tetradic
#586F20 #206F5E #37206F #6F2030
square
#586F20 #206F5E #37206F #6F2030
split-complementary
#586F20 #20306F #5E206F
monochromatic
#131807 #323F12 #586F20 #7E9F2E #A1C841

Accessibility & contrast

On white

5.66
#586F20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#586F20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #586F20
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##586F20#FFFFFF#000000##FFFFFF
##586F201.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756814
Deuteranopia (green-blind)
#726726
Tritanopia (blue-blind)
#5C695F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #586f20;
/* rgb */ color: rgb(88, 111, 32);
/* oklch */ color: oklch(50.6% 0.108 124.2);
Tailwind
colors: {
  custom: {
    50: '#8a9860',
    500: '#586f20',
    950: '#000000',
  },
}
SCSS
$custom: #586f20;
$custom-light: #8a9860;
$custom-dark: #000000;
JSON
{
  "hex": "#586f20",
  "rgb": {
    "r": 88,
    "g": 111,
    "b": 32
  },
  "hsl": {
    "h": 77.468,
    "s": 55.245,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50643,
    "c": 0.10772,
    "h": 124.2
  },
  "luminance": 0.13548
}

Semantic roles & 50–950 ramp

primary
#586F20
secondary
#6248A3
accent
#49DF75
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0D05
muted
#7D7E79

Preview Lab

Preview with #586F20

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

Preview Lab → · Contrast checker → · Palette generator →

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