#585F31#585F31

#585F31 is a mid, moderate yellow. Relative luminance 0.105; OKLCH L 46.8% C 0.068 H 116.2°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#585F31
RGBrgb(88, 95, 49)
HSLhsl(69, 32%, 28%)
HSVhsv(69, 48%, 37%)
CMYKcmyk(7.4%, 0%, 48.4%, 62.7%)
CIE-LABlab(38.69, -10.66, 25.30)
CIE-LCHlch(38.69, 27.45, 112.84°)
OKLaboklab(46.78% -0.0299 0.0608)
OKLCHoklch(46.78% 0.068 116.2)
XYZxyz(8.6712, 10.4810, 4.4714)
Luminance0.1048 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585F31 #38315F
analogous
#5F4F31 #585F31 #415F31
triadic
#585F31 #31585F #5F3158
tetradic
#585F31 #315F4F #38315F #5F3141
square
#585F31 #315F4F #38315F #5F3141
split-complementary
#585F31 #31415F #4F315F
monochromatic
#13140A #33371C #585F31 #7D8746 #A0AC5E

Accessibility & contrast

On white

6.78
#585F31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#585F31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##585F31#FFFFFF#000000##FFFFFF
##585F311.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)
#655B2D
Deuteranopia (green-blind)
#645B33
Tritanopia (blue-blind)
#5D5A54
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #585f31;
/* rgb */ color: rgb(88, 95, 49);
/* oklch */ color: oklch(46.8% 0.068 116.2);
Tailwind
colors: {
  custom: {
    50: '#888c6a',
    500: '#585f31',
    950: '#000000',
  },
}
SCSS
$custom: #585f31;
$custom-light: #888c6a;
$custom-dark: #000000;
JSON
{
  "hex": "#585f31",
  "rgb": {
    "r": 88,
    "g": 95,
    "b": 49
  },
  "hsl": {
    "h": 69.13,
    "s": 31.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.46777,
    "c": 0.06775,
    "h": 116.2
  },
  "luminance": 0.10481
}

Semantic roles & 50–950 ramp

primary
#585F31
secondary
#645C90
accent
#60C870
background
#F8F8F6
surface
#F0F0EB
border
#CBCBC6
text
#0B0C06
muted
#7C7D7A

Preview Lab

Preview with #585F31

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

Preview Lab → · Contrast checker → · Palette generator →

#585F31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva