#585F17#585F17

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

Color values

HEX#585F17
RGBrgb(88, 95, 23)
HSLhsl(66, 61%, 23%)
HSVhsv(66, 76%, 37%)
CMYKcmyk(7.4%, 0%, 75.8%, 62.7%)
CIE-LABlab(38.41, -12.96, 38.00)
CIE-LCHlch(38.41, 40.15, 108.84°)
OKLaboklab(46.46% -0.0393 0.0845)
OKLCHoklch(46.46% 0.093 114.9)
XYZxyz(8.2716, 10.3211, 2.3669)
Luminance0.1032 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585F17 #1E175F
analogous
#5F4217 #585F17 #345F17
triadic
#585F17 #17585F #5F1758
tetradic
#585F17 #175F42 #1E175F #5F1734
square
#585F17 #175F42 #1E175F #5F1734
split-complementary
#585F17 #17345F #42175F
monochromatic
#171906 #2A2E0B #585F17 #869023 #B3C22F

Accessibility & contrast

On white

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

On black

3.06
#585F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##585F17#FFFFFF#000000##FFFFFF
##585F171.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #585f17;
/* rgb */ color: rgb(88, 95, 23);
/* oklch */ color: oklch(46.5% 0.093 114.9);
Tailwind
colors: {
  custom: {
    50: '#8a8c5a',
    500: '#585f17',
    950: '#000000',
  },
}
SCSS
$custom: #585f17;
$custom-light: #8a8c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#585f17",
  "rgb": {
    "r": 88,
    "g": 95,
    "b": 23
  },
  "hsl": {
    "h": 65.833,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.46463,
    "c": 0.09322,
    "h": 114.9
  },
  "luminance": 0.10321
}

Semantic roles & 50–950 ramp

primary
#585F17
secondary
#453C96
accent
#44E453
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #585F17

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

Preview Lab → · Contrast checker → · Palette generator →

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