#586E12#586E12

#586E12 is a mid, moderate yellow-green. Relative luminance 0.133; OKLCH L 50.3% C 0.115 H 122.9°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#586E12
RGBrgb(88, 110, 18)
HSLhsl(74, 72%, 25%)
HSVhsv(74, 84%, 43%)
CMYKcmyk(20%, 0%, 83.6%, 56.9%)
CIE-LABlab(43.17, -21.30, 44.26)
CIE-LCHlch(43.17, 49.12, 115.70°)
OKLaboklab(50.28% -0.0627 0.0968)
OKLCHoklch(50.28% 0.115 122.9)
XYZxyz(9.7098, 13.2702, 2.6220)
Luminance0.1327 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#586E12 #28126E
analogous
#6E5612 #586E12 #2A6E12
triadic
#586E12 #12586E #6E1258
tetradic
#586E12 #126E56 #28126E #6E122A
square
#586E12 #126E56 #28126E #6E122A
split-complementary
#586E12 #122A6E #56126E
monochromatic
#151A04 #2E3909 #586E12 #82A31B #ACD723

Accessibility & contrast

On white

5.75
#586E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#586E12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #586E12
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##586E12#FFFFFF#000000##FFFFFF
##586E121.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#72661C
Tritanopia (blue-blind)
#5D685D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #586e12;
/* rgb */ color: rgb(88, 110, 18);
/* oklch */ color: oklch(50.3% 0.115 122.9);
Tailwind
colors: {
  custom: {
    50: '#8a9759',
    500: '#586e12',
    950: '#000000',
  },
}
SCSS
$custom: #586e12;
$custom-light: #8a9759;
$custom-dark: #000000;
JSON
{
  "hex": "#586e12",
  "rgb": {
    "r": 88,
    "g": 110,
    "b": 18
  },
  "hsl": {
    "h": 74.348,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.50283,
    "c": 0.11535,
    "h": 122.9
  },
  "luminance": 0.1327
}

Semantic roles & 50–950 ramp

primary
#586E12
secondary
#5137A5
accent
#39EF65
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #586E12

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

Preview Lab → · Contrast checker → · Palette generator →

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