#585F1A#585F1A

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

Color values

HEX#585F1A
RGBrgb(88, 95, 26)
HSLhsl(66, 57%, 24%)
HSVhsv(66, 73%, 37%)
CMYKcmyk(7.4%, 0%, 72.6%, 62.7%)
CIE-LABlab(38.44, -12.78, 36.75)
CIE-LCHlch(38.44, 38.91, 109.17°)
OKLaboklab(46.49% -0.0384 0.0825)
OKLCHoklch(46.49% 0.091 115)
XYZxyz(8.3034, 10.3338, 2.5343)
Luminance0.1033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585F1A #211A5F
analogous
#5F431A #585F1A #355F1A
triadic
#585F1A #1A585F #5F1A58
tetradic
#585F1A #1A5F43 #211A5F #5F1A35
square
#585F1A #1A5F43 #211A5F #5F1A35
split-complementary
#585F1A #1A355F #431A5F
monochromatic
#161807 #2B2F0D #585F1A #858F27 #B1BF34

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##585F1A#FFFFFF#000000##FFFFFF
##585F1A1.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)
#665A10
Deuteranopia (green-blind)
#665B1F
Tritanopia (blue-blind)
#5E5951
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #585f1a;
/* rgb */ color: rgb(88, 95, 26);
/* oklch */ color: oklch(46.5% 0.091 115.0);
Tailwind
colors: {
  custom: {
    50: '#898c5b',
    500: '#585f1a',
    950: '#000000',
  },
}
SCSS
$custom: #585f1a;
$custom-light: #898c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#585f1a",
  "rgb": {
    "r": 88,
    "g": 95,
    "b": 26
  },
  "hsl": {
    "h": 66.087,
    "s": 57.025,
    "l": 23.725
  },
  "oklch": {
    "l": 0.46488,
    "c": 0.09099,
    "h": 115
  },
  "luminance": 0.10334
}

Semantic roles & 50–950 ramp

primary
#585F1A
secondary
#494095
accent
#48E057
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #585F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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