#585F1B#585F1B

#585F1B is a mid, moderate yellow. Relative luminance 0.103; OKLCH L 46.5% C 0.090 H 115.0°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#585F1B
RGBrgb(88, 95, 27)
HSLhsl(66, 56%, 24%)
HSVhsv(66, 72%, 37%)
CMYKcmyk(7.4%, 0%, 71.6%, 62.7%)
CIE-LABlab(38.44, -12.71, 36.32)
CIE-LCHlch(38.44, 38.48, 109.29°)
OKLaboklab(46.5% -0.0382 0.0817)
OKLCHoklch(46.5% 0.09 115)
XYZxyz(8.3147, 10.3384, 2.5942)
Luminance0.1034 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585F1B #221B5F
analogous
#5F441B #585F1B #365F1B
triadic
#585F1B #1B585F #5F1B58
tetradic
#585F1B #1B5F44 #221B5F #5F1B36
square
#585F1B #1B5F44 #221B5F #5F1B36
split-complementary
#585F1B #1B365F #441B5F
monochromatic
#161807 #2C2F0D #585F1B #848F29 #B0BE36

Accessibility & contrast

On white

6.85
#585F1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#585F1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585F1B
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585F1B#FFFFFF#000000##FFFFFF
##585F1B1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A11
Deuteranopia (green-blind)
#665B20
Tritanopia (blue-blind)
#5E5951
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #585f1b;
/* rgb */ color: rgb(88, 95, 27);
/* oklch */ color: oklch(46.5% 0.090 115.0);
Tailwind
colors: {
  custom: {
    50: '#898c5c',
    500: '#585f1b',
    950: '#000000',
  },
}
SCSS
$custom: #585f1b;
$custom-light: #898c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#585f1b",
  "rgb": {
    "r": 88,
    "g": 95,
    "b": 27
  },
  "hsl": {
    "h": 66.176,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.46497,
    "c": 0.0902,
    "h": 115
  },
  "luminance": 0.10338
}

Semantic roles & 50–950 ramp

primary
#585F1B
secondary
#4A4195
accent
#49DF58
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #585F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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