#586F12#586F12

#586F12 is a mid, moderate yellow-green. Relative luminance 0.135; OKLCH L 50.5% C 0.117 H 123.3°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#586F12
RGBrgb(88, 111, 18)
HSLhsl(75, 72%, 25%)
HSVhsv(75, 84%, 44%)
CMYKcmyk(20.7%, 0%, 83.8%, 56.5%)
CIE-LABlab(43.49, -21.81, 44.55)
CIE-LCHlch(43.49, 49.60, 116.09°)
OKLaboklab(50.54% -0.0641 0.0974)
OKLCHoklch(50.54% 0.117 123.3)
XYZxyz(9.8183, 13.4872, 2.6582)
Luminance0.1349 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#586F12 #29126F
analogous
#6F5812 #586F12 #296F12
triadic
#586F12 #12586F #6F1258
tetradic
#586F12 #126F58 #29126F #6F1229
square
#586F12 #126F58 #29126F #6F1229
split-complementary
#586F12 #12296F #58126F
monochromatic
#151A04 #2E3A09 #586F12 #82A41B #ABD823

Accessibility & contrast

On white

5.68
#586F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#586F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #586F12
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##586F12#FFFFFF#000000##FFFFFF
##586F121.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#73671C
Tritanopia (blue-blind)
#5D695E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #586f12;
/* rgb */ color: rgb(88, 111, 18);
/* oklch */ color: oklch(50.5% 0.117 123.3);
Tailwind
colors: {
  custom: {
    50: '#8a985a',
    500: '#586f12',
    950: '#000000',
  },
}
SCSS
$custom: #586f12;
$custom-light: #8a985a;
$custom-dark: #000000;
JSON
{
  "hex": "#586f12",
  "rgb": {
    "r": 88,
    "g": 111,
    "b": 18
  },
  "hsl": {
    "h": 74.839,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.50543,
    "c": 0.11663,
    "h": 123.3
  },
  "luminance": 0.13487
}

Semantic roles & 50–950 ramp

primary
#586F12
secondary
#5237A6
accent
#39EF66
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #586F12

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

Preview Lab → · Contrast checker → · Palette generator →

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