#586C12#586C12

#586C12 is a mid, moderate yellow-green. Relative luminance 0.128; OKLCH L 49.8% C 0.113 H 122.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#586C12
RGBrgb(88, 108, 18)
HSLhsl(73, 71%, 25%)
HSVhsv(73, 83%, 42%)
CMYKcmyk(18.5%, 0%, 83.3%, 57.6%)
CIE-LABlab(42.53, -20.26, 43.68)
CIE-LCHlch(42.53, 48.15, 114.88°)
OKLaboklab(49.77% -0.0598 0.0956)
OKLCHoklch(49.77% 0.113 122)
XYZxyz(9.4964, 12.8435, 2.5509)
Luminance0.1284 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#586C12 #26126C
analogous
#6C5312 #586C12 #2B6C12
triadic
#586C12 #12586C #6C1258
tetradic
#586C12 #126C53 #26126C #6C122B
square
#586C12 #126C53 #26126C #6C122B
split-complementary
#586C12 #122B6C #53126C
monochromatic
#151A04 #2D3809 #586C12 #83A01B #ADD523

Accessibility & contrast

On white

5.88
#586C12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#586C12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #586C12
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##586C12#FFFFFF#000000##FFFFFF
##586C121.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#70641B
Tritanopia (blue-blind)
#5D665C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #586c12;
/* rgb */ color: rgb(88, 108, 18);
/* oklch */ color: oklch(49.8% 0.113 122.0);
Tailwind
colors: {
  custom: {
    50: '#8a9659',
    500: '#586c12',
    950: '#000000',
  },
}
SCSS
$custom: #586c12;
$custom-light: #8a9659;
$custom-dark: #000000;
JSON
{
  "hex": "#586c12",
  "rgb": {
    "r": 88,
    "g": 108,
    "b": 18
  },
  "hsl": {
    "h": 73.333,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.49765,
    "c": 0.11279,
    "h": 122
  },
  "luminance": 0.12844
}

Semantic roles & 50–950 ramp

primary
#586C12
secondary
#4F36A3
accent
#3AEE62
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #586C12

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

Preview Lab → · Contrast checker → · Palette generator →

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