#586D12#586D12

#586D12 is a mid, moderate yellow-green. Relative luminance 0.131; OKLCH L 50.0% C 0.114 H 122.5°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#586D12
RGBrgb(88, 109, 18)
HSLhsl(74, 72%, 25%)
HSVhsv(74, 83%, 43%)
CMYKcmyk(19.3%, 0%, 83.5%, 57.3%)
CIE-LABlab(42.85, -20.78, 43.97)
CIE-LCHlch(42.85, 48.63, 115.29°)
OKLaboklab(50.02% -0.0613 0.0962)
OKLCHoklch(50.02% 0.114 122.5)
XYZxyz(9.6025, 13.0556, 2.5863)
Luminance0.1306 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#586D12 #27126D
analogous
#6D5512 #586D12 #2B6D12
triadic
#586D12 #12586D #6D1258
tetradic
#586D12 #126D55 #27126D #6D122B
square
#586D12 #126D55 #27126D #6D122B
split-complementary
#586D12 #122B6D #55126D
monochromatic
#151A04 #2E3809 #586D12 #82A21B #ADD623

Accessibility & contrast

On white

5.82
#586D12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#586D12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #586D12
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##586D12#FFFFFF#000000##FFFFFF
##586D121.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#71651B
Tritanopia (blue-blind)
#5D675C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #586d12;
/* rgb */ color: rgb(88, 109, 18);
/* oklch */ color: oklch(50.0% 0.114 122.5);
Tailwind
colors: {
  custom: {
    50: '#8a9659',
    500: '#586d12',
    950: '#000000',
  },
}
SCSS
$custom: #586d12;
$custom-light: #8a9659;
$custom-dark: #000000;
JSON
{
  "hex": "#586d12",
  "rgb": {
    "r": 88,
    "g": 109,
    "b": 18
  },
  "hsl": {
    "h": 73.846,
    "s": 71.654,
    "l": 24.902
  },
  "oklch": {
    "l": 0.50024,
    "c": 0.11406,
    "h": 122.5
  },
  "luminance": 0.13056
}

Semantic roles & 50–950 ramp

primary
#586D12
secondary
#5037A4
accent
#39EE63
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #586D12

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

Preview Lab → · Contrast checker → · Palette generator →

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