#586B1F#586B1F

#586B1F is a mid, moderate yellow-green. Relative luminance 0.127; OKLCH L 49.6% C 0.103 H 122.4°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#586B1F
RGBrgb(88, 107, 31)
HSLhsl(75, 55%, 27%)
HSVhsv(75, 71%, 42%)
CMYKcmyk(17.8%, 0%, 71%, 58%)
CIE-LABlab(42.29, -18.97, 38.50)
CIE-LCHlch(42.29, 42.92, 116.23°)
OKLaboklab(49.6% -0.0551 0.087)
OKLCHoklch(49.6% 0.103 122.4)
XYZxyz(9.5296, 12.6890, 3.2432)
Luminance0.1269 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#586B1F #321F6B
analogous
#6B581F #586B1F #326B1F
triadic
#586B1F #1F586B #6B1F58
tetradic
#586B1F #1F6B58 #321F6B #6B1F32
square
#586B1F #1F6B58 #321F6B #6B1F32
split-complementary
#586B1F #1F326B #581F6B
monochromatic
#141807 #313C11 #586B1F #7F9A2D #A5C73D

Accessibility & contrast

On white

5.94
#586B1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#586B1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #586B1F
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##586B1F#FFFFFF#000000##FFFFFF
##586B1F1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726414
Deuteranopia (green-blind)
#6F6425
Tritanopia (blue-blind)
#5D655C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #586b1f;
/* rgb */ color: rgb(88, 107, 31);
/* oklch */ color: oklch(49.6% 0.103 122.4);
Tailwind
colors: {
  custom: {
    50: '#89955f',
    500: '#586b1f',
    950: '#000000',
  },
}
SCSS
$custom: #586b1f;
$custom-light: #89955f;
$custom-dark: #000000;
JSON
{
  "hex": "#586b1f",
  "rgb": {
    "r": 88,
    "g": 107,
    "b": 31
  },
  "hsl": {
    "h": 75,
    "s": 55.072,
    "l": 27.059
  },
  "oklch": {
    "l": 0.49602,
    "c": 0.10301,
    "h": 122.4
  },
  "luminance": 0.12689
}

Semantic roles & 50–950 ramp

primary
#586B1F
secondary
#5D479F
accent
#49DE6F
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D05
muted
#7D7E79

Preview Lab

Preview with #586B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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