#586D20#586D20

#586D20 is a mid, moderate yellow-green. Relative luminance 0.131; OKLCH L 50.1% C 0.105 H 123.4°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#586D20
RGBrgb(88, 109, 32)
HSLhsl(76, 55%, 28%)
HSVhsv(76, 71%, 43%)
CMYKcmyk(19.3%, 0%, 70.6%, 57.3%)
CIE-LABlab(42.94, -19.95, 38.74)
CIE-LCHlch(42.94, 43.57, 117.25°)
OKLaboklab(50.13% -0.0577 0.0877)
OKLCHoklch(50.13% 0.105 123.4)
XYZxyz(9.7539, 13.1162, 3.3840)
Luminance0.1312 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#586D20 #35206D
analogous
#6D5C20 #586D20 #316D20
triadic
#586D20 #20586D #6D2058
tetradic
#586D20 #206D5C #35206D #6D2031
square
#586D20 #206D5C #35206D #6D2031
split-complementary
#586D20 #20316D #5C206D
monochromatic
#131807 #323E12 #586D20 #7E9C2E #A2C740

Accessibility & contrast

On white

5.80
#586D20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#586D20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #586D20
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##586D20#FFFFFF#000000##FFFFFF
##586D201.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736615
Deuteranopia (green-blind)
#716526
Tritanopia (blue-blind)
#5C675D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #586d20;
/* rgb */ color: rgb(88, 109, 32);
/* oklch */ color: oklch(50.1% 0.105 123.4);
Tailwind
colors: {
  custom: {
    50: '#8a9760',
    500: '#586d20',
    950: '#000000',
  },
}
SCSS
$custom: #586d20;
$custom-light: #8a9760;
$custom-dark: #000000;
JSON
{
  "hex": "#586d20",
  "rgb": {
    "r": 88,
    "g": 109,
    "b": 32
  },
  "hsl": {
    "h": 76.364,
    "s": 54.61,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50127,
    "c": 0.10496,
    "h": 123.4
  },
  "luminance": 0.13116
}

Semantic roles & 50–950 ramp

primary
#586D20
secondary
#6048A1
accent
#4ADE72
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0D05
muted
#7D7E79

Preview Lab

Preview with #586D20

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

Preview Lab → · Contrast checker → · Palette generator →

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