#586D1F#586D1F

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

Color values

HEX#586D1F
RGBrgb(88, 109, 31)
HSLhsl(76, 56%, 27%)
HSVhsv(76, 72%, 43%)
CMYKcmyk(19.3%, 0%, 71.6%, 57.3%)
CIE-LABlab(42.93, -20.02, 39.16)
CIE-LCHlch(42.93, 43.98, 117.08°)
OKLaboklab(50.12% -0.058 0.0884)
OKLCHoklch(50.12% 0.106 123.3)
XYZxyz(9.7406, 13.1109, 3.3135)
Luminance0.1311 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#586D1F #341F6D
analogous
#6D5B1F #586D1F #316D1F
triadic
#586D1F #1F586D #6D1F58
tetradic
#586D1F #1F6D5B #341F6D #6D1F31
square
#586D1F #1F6D5B #341F6D #6D1F31
split-complementary
#586D1F #1F316D #5B1F6D
monochromatic
#131807 #323D11 #586D1F #7E9D2D #A3C83E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##586D1F#FFFFFF#000000##FFFFFF
##586D1F1.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)
#736613
Deuteranopia (green-blind)
#716525
Tritanopia (blue-blind)
#5D675D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #586d1f;
/* rgb */ color: rgb(88, 109, 31);
/* oklch */ color: oklch(50.1% 0.106 123.3);
Tailwind
colors: {
  custom: {
    50: '#8a9760',
    500: '#586d1f',
    950: '#000000',
  },
}
SCSS
$custom: #586d1f;
$custom-light: #8a9760;
$custom-dark: #000000;
JSON
{
  "hex": "#586d1f",
  "rgb": {
    "r": 88,
    "g": 109,
    "b": 31
  },
  "hsl": {
    "h": 76.154,
    "s": 55.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50118,
    "c": 0.10575,
    "h": 123.3
  },
  "luminance": 0.13111
}

Semantic roles & 50–950 ramp

primary
#586D1F
secondary
#5F47A1
accent
#49DF71
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0D05
muted
#7D7E79

Preview Lab

Preview with #586D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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