#586F1F#586F1F

#586F1F is a mid, moderate yellow-green. Relative luminance 0.135; OKLCH L 50.6% C 0.108 H 124.2°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#586F1F
RGBrgb(88, 111, 31)
HSLhsl(77, 56%, 28%)
HSVhsv(77, 72%, 44%)
CMYKcmyk(20.7%, 0%, 72.1%, 56.5%)
CIE-LABlab(43.57, -21.07, 39.82)
CIE-LCHlch(43.57, 45.05, 117.88°)
OKLaboklab(50.63% -0.0609 0.0898)
OKLCHoklch(50.63% 0.108 124.2)
XYZxyz(9.9563, 13.5424, 3.3855)
Luminance0.1354 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#586F1F #361F6F
analogous
#6F5E1F #586F1F #306F1F
triadic
#586F1F #1F586F #6F1F58
tetradic
#586F1F #1F6F5E #361F6F #6F1F30
square
#586F1F #1F6F5E #361F6F #6F1F30
split-complementary
#586F1F #1F306F #5E1F6F
monochromatic
#131807 #323F12 #586F1F #7E9F2C #A2C93F

Accessibility & contrast

On white

5.66
#586F1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#586F1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #586F1F
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##586F1F#FFFFFF#000000##FFFFFF
##586F1F1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756813
Deuteranopia (green-blind)
#726726
Tritanopia (blue-blind)
#5C695F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #586f1f;
/* rgb */ color: rgb(88, 111, 31);
/* oklch */ color: oklch(50.6% 0.108 124.2);
Tailwind
colors: {
  custom: {
    50: '#8a9860',
    500: '#586f1f',
    950: '#000000',
  },
}
SCSS
$custom: #586f1f;
$custom-light: #8a9860;
$custom-dark: #000000;
JSON
{
  "hex": "#586f1f",
  "rgb": {
    "r": 88,
    "g": 111,
    "b": 31
  },
  "hsl": {
    "h": 77.25,
    "s": 56.338,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50634,
    "c": 0.10848,
    "h": 124.2
  },
  "luminance": 0.13543
}

Semantic roles & 50–950 ramp

primary
#586F1F
secondary
#6147A3
accent
#48E074
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0D05
muted
#7D7E79

Preview Lab

Preview with #586F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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