#586012#586012

#586012 is a mid, moderate yellow. Relative luminance 0.105; OKLCH L 46.7% C 0.098 H 115.5°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#586012
RGBrgb(88, 96, 18)
HSLhsl(66, 68%, 22%)
HSVhsv(66, 81%, 38%)
CMYKcmyk(8.3%, 0%, 81.3%, 62.4%)
CIE-LABlab(38.70, -13.79, 40.18)
CIE-LCHlch(38.70, 42.48, 108.94°)
OKLaboklab(46.68% -0.0421 0.0882)
OKLCHoklch(46.68% 0.098 115.5)
XYZxyz(8.3168, 10.4843, 2.1577)
Luminance0.1048 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#586012 #1A1260
analogous
#604112 #586012 #316012
triadic
#586012 #125860 #601258
tetradic
#586012 #126041 #1A1260 #601231
square
#586012 #126041 #1A1260 #601231
split-complementary
#586012 #123160 #411260
monochromatic
#181A05 #292C08 #586012 #87941C #B6C725

Accessibility & contrast

On white

6.78
#586012 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#586012 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #586012
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##586012#FFFFFF#000000##FFFFFF
##5860121.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B01
Deuteranopia (green-blind)
#675C19
Tritanopia (blue-blind)
#5E5A51
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #586012;
/* rgb */ color: rgb(88, 96, 18);
/* oklch */ color: oklch(46.7% 0.098 115.5);
Tailwind
colors: {
  custom: {
    50: '#8a8d57',
    500: '#586012',
    950: '#000000',
  },
}
SCSS
$custom: #586012;
$custom-light: #8a8d57;
$custom-dark: #000000;
JSON
{
  "hex": "#586012",
  "rgb": {
    "r": 88,
    "g": 96,
    "b": 18
  },
  "hsl": {
    "h": 66.154,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.46681,
    "c": 0.09771,
    "h": 115.5
  },
  "luminance": 0.10484
}

Semantic roles & 50–950 ramp

primary
#586012
secondary
#403698
accent
#3DEB4E
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #586012

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

Preview Lab → · Contrast checker → · Palette generator →

#586012 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva