#585512#585512

#585512 is a dark, moderate yellow. Relative luminance 0.086; OKLCH L 43.9% C 0.085 H 106.8°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#585512
RGBrgb(88, 85, 18)
HSLhsl(57, 66%, 21%)
HSVhsv(57, 80%, 35%)
CMYKcmyk(0%, 3.4%, 79.5%, 65.5%)
CIE-LABlab(35.23, -7.50, 36.95)
CIE-LCHlch(35.23, 37.71, 101.47°)
OKLaboklab(43.91% -0.0246 0.0813)
OKLCHoklch(43.91% 0.085 106.8)
XYZxyz(7.3825, 8.6156, 1.8463)
Luminance0.0862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585512 #121558
analogous
#583212 #585512 #385812
triadic
#585512 #125855 #551258
tetradic
#585512 #125832 #121558 #581238
square
#585512 #125832 #121558 #581238
split-complementary
#585512 #123858 #321258
monochromatic
#191905 #252408 #585512 #8B861C #BEB727

Accessibility & contrast

On white

7.71
#585512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#585512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #585512
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585512#FFFFFF#000000##FFFFFF
##5855121.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5105
Deuteranopia (green-blind)
#5E5417
Tritanopia (blue-blind)
#5F4F48
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #585512;
/* rgb */ color: rgb(88, 85, 18);
/* oklch */ color: oklch(43.9% 0.085 106.8);
Tailwind
colors: {
  custom: {
    50: '#8a8456',
    500: '#585512',
    950: '#000000',
  },
}
SCSS
$custom: #585512;
$custom-light: #8a8456;
$custom-dark: #000000;
JSON
{
  "hex": "#585512",
  "rgb": {
    "r": 88,
    "g": 85,
    "b": 18
  },
  "hsl": {
    "h": 57.429,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.4391,
    "c": 0.08496,
    "h": 106.8
  },
  "luminance": 0.08615
}

Semantic roles & 50–950 ramp

primary
#585512
secondary
#353991
accent
#46E93F
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #585512

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

Preview Lab → · Contrast checker → · Palette generator →

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