#586512#586512

#586512 is a mid, moderate yellow. Relative luminance 0.114; OKLCH L 48.0% C 0.104 H 118.5°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#586512
RGBrgb(88, 101, 18)
HSLhsl(69, 70%, 23%)
HSVhsv(69, 82%, 40%)
CMYKcmyk(12.9%, 0%, 82.2%, 60.4%)
CIE-LABlab(40.29, -16.53, 41.65)
CIE-LCHlch(40.29, 44.81, 111.65°)
OKLaboklab(47.96% -0.0496 0.0913)
OKLCHoklch(47.96% 0.104 118.5)
XYZxyz(8.7876, 11.4258, 2.3146)
Luminance0.1143 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#586512 #1F1265
analogous
#654812 #586512 #2E6512
triadic
#586512 #125865 #651258
tetradic
#586512 #126548 #1F1265 #65122E
square
#586512 #126548 #1F1265 #65122E
split-complementary
#586512 #122E65 #481265
monochromatic
#171A05 #2B3109 #586512 #85991B #B3CD25

Accessibility & contrast

On white

6.39
#586512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#586512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #586512
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##586512#FFFFFF#000000##FFFFFF
##5865121.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F00
Deuteranopia (green-blind)
#6B5F1A
Tritanopia (blue-blind)
#5E5F56
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #586512;
/* rgb */ color: rgb(88, 101, 18);
/* oklch */ color: oklch(48.0% 0.104 118.5);
Tailwind
colors: {
  custom: {
    50: '#8a9058',
    500: '#586512',
    950: '#000000',
  },
}
SCSS
$custom: #586512;
$custom-light: #8a9058;
$custom-dark: #000000;
JSON
{
  "hex": "#586512",
  "rgb": {
    "r": 88,
    "g": 101,
    "b": 18
  },
  "hsl": {
    "h": 69.398,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.4796,
    "c": 0.1039,
    "h": 118.5
  },
  "luminance": 0.11426
}

Semantic roles & 50–950 ramp

primary
#586512
secondary
#46369D
accent
#3BED57
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #586512

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

Preview Lab → · Contrast checker → · Palette generator →

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