#586F40#586F40

#586F40 is a mid, moderate yellow-green. Relative luminance 0.138; OKLCH L 51.1% C 0.075 H 130.0°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#586F40
RGBrgb(88, 111, 64)
HSLhsl(89, 27%, 34%)
HSVhsv(89, 42%, 44%)
CMYKcmyk(20.7%, 0%, 42.3%, 56.5%)
CIE-LABlab(43.96, -17.54, 23.44)
CIE-LCHlch(43.96, 29.27, 126.81°)
OKLaboklab(51.08% -0.0481 0.0575)
OKLCHoklch(51.08% 0.075 130)
XYZxyz(10.6342, 13.8136, 6.9555)
Luminance0.1381 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#586F40 #57406F
analogous
#6F6F40 #586F40 #416F40
triadic
#586F40 #40586F #6F4058
tetradic
#586F40 #406F6F #57406F #6F4041
square
#586F40 #406F6F #57406F #6F4041
split-complementary
#586F40 #40416F #6F406F
monochromatic
#1A2113 #39482A #586F40 #779656 #95B178

Accessibility & contrast

On white

5.58
#586F40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#586F40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #586F40
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##586F40#FFFFFF#000000##FFFFFF
##586F401.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73693C
Deuteranopia (green-blind)
#706743
Tritanopia (blue-blind)
#5A6B63
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #586f40;
/* rgb */ color: rgb(88, 111, 64);
/* oklch */ color: oklch(51.1% 0.075 130.0);
Tailwind
colors: {
  custom: {
    50: '#889875',
    500: '#586f40',
    950: '#000000',
  },
}
SCSS
$custom: #586f40;
$custom-light: #889875;
$custom-dark: #000000;
JSON
{
  "hex": "#586f40",
  "rgb": {
    "r": 88,
    "g": 111,
    "b": 64
  },
  "hsl": {
    "h": 89.362,
    "s": 26.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.51081,
    "c": 0.07498,
    "h": 130
  },
  "luminance": 0.13814
}

Semantic roles & 50–950 ramp

primary
#586F40
secondary
#856F9C
accent
#65C393
background
#F8F9F7
surface
#F0F2ED
border
#CBCCC8
text
#0B0D08
muted
#7C7E7B

Preview Lab

Preview with #586F40

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

Preview Lab → · Contrast checker → · Palette generator →

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