#586A2F#586A2F

#586A2F is a mid, moderate yellow-green. Relative luminance 0.126; OKLCH L 49.5% C 0.087 H 123.6°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#586A2F
RGBrgb(88, 106, 47)
HSLhsl(78, 39%, 30%)
HSVhsv(78, 56%, 42%)
CMYKcmyk(17%, 0%, 55.7%, 58.4%)
CIE-LABlab(42.14, -16.99, 30.54)
CIE-LCHlch(42.14, 34.95, 119.10°)
OKLaboklab(49.53% -0.048 0.0721)
OKLCHoklch(49.53% 0.087 123.6)
XYZxyz(9.6917, 12.5880, 4.6079)
Luminance0.1259 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#586A2F #412F6A
analogous
#6A5E2F #586A2F #3B6A2F
triadic
#586A2F #2F586A #6A2F58
tetradic
#586A2F #2F6A5E #412F6A #6A2F3B
square
#586A2F #2F6A5E #412F6A #6A2F3B
split-complementary
#586A2F #2F3B6A #5E2F6A
monochromatic
#121509 #35401C #586A2F #7B9442 #9BB75C

Accessibility & contrast

On white

5.97
#586A2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#586A2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #586A2F
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##586A2F#FFFFFF#000000##FFFFFF
##586A2F1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706429
Deuteranopia (green-blind)
#6D6333
Tritanopia (blue-blind)
#5C655D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #586a2f;
/* rgb */ color: rgb(88, 106, 47);
/* oklch */ color: oklch(49.5% 0.087 123.6);
Tailwind
colors: {
  custom: {
    50: '#899469',
    500: '#586a2f',
    950: '#000000',
  },
}
SCSS
$custom: #586a2f;
$custom-light: #899469;
$custom-dark: #000000;
JSON
{
  "hex": "#586a2f",
  "rgb": {
    "r": 88,
    "g": 106,
    "b": 47
  },
  "hsl": {
    "h": 78.305,
    "s": 38.562,
    "l": 30
  },
  "oklch": {
    "l": 0.49529,
    "c": 0.08663,
    "h": 123.6
  },
  "luminance": 0.12588
}

Semantic roles & 50–950 ramp

primary
#586A2F
secondary
#6E599B
accent
#59CE7D
background
#F8F9F6
surface
#F0F1EB
border
#CBCBC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #586A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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