#586A12#586A12

#586A12 is a mid, moderate yellow-green. Relative luminance 0.124; OKLCH L 49.2% C 0.110 H 121.1°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#586A12
RGBrgb(88, 106, 18)
HSLhsl(72, 71%, 24%)
HSVhsv(72, 83%, 42%)
CMYKcmyk(17%, 0%, 83%, 58.4%)
CIE-LABlab(41.89, -19.21, 43.10)
CIE-LCHlch(41.89, 47.19, 114.02°)
OKLaboklab(49.25% -0.057 0.0944)
OKLCHoklch(49.25% 0.11 121.1)
XYZxyz(9.2879, 12.4265, 2.4814)
Luminance0.1243 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#586A12 #24126A
analogous
#6A5012 #586A12 #2C6A12
triadic
#586A12 #12586A #6A1258
tetradic
#586A12 #126A50 #24126A #6A122C
square
#586A12 #126A50 #24126A #6A122C
split-complementary
#586A12 #122C6A #50126A
monochromatic
#161A04 #2D3609 #586A12 #839E1B #AFD324

Accessibility & contrast

On white

6.03
#586A12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#586A12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #586A12
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##586A12#FFFFFF#000000##FFFFFF
##586A121.006.033.496.03
#FFFFFF6.031.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#6F631B
Tritanopia (blue-blind)
#5D645A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #586a12;
/* rgb */ color: rgb(88, 106, 18);
/* oklch */ color: oklch(49.2% 0.110 121.1);
Tailwind
colors: {
  custom: {
    50: '#8a9459',
    500: '#586a12',
    950: '#000000',
  },
}
SCSS
$custom: #586a12;
$custom-light: #8a9459;
$custom-dark: #000000;
JSON
{
  "hex": "#586a12",
  "rgb": {
    "r": 88,
    "g": 106,
    "b": 18
  },
  "hsl": {
    "h": 72.273,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.49248,
    "c": 0.11024,
    "h": 121.1
  },
  "luminance": 0.12426
}

Semantic roles & 50–950 ramp

primary
#586A12
secondary
#4C36A2
accent
#3AEE5F
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #586A12

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

Preview Lab → · Contrast checker → · Palette generator →

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