#585F16#585F16

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

Color values

HEX#585F16
RGBrgb(88, 95, 22)
HSLhsl(66, 62%, 23%)
HSVhsv(66, 77%, 37%)
CMYKcmyk(7.4%, 0%, 76.8%, 62.7%)
CIE-LABlab(38.41, -13.02, 38.40)
CIE-LCHlch(38.41, 40.54, 108.73°)
OKLaboklab(46.46% -0.0395 0.0852)
OKLCHoklch(46.46% 0.094 114.9)
XYZxyz(8.2618, 10.3172, 2.3151)
Luminance0.1032 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585F16 #1D165F
analogous
#5F4116 #585F16 #345F16
triadic
#585F16 #16585F #5F1658
tetradic
#585F16 #165F41 #1D165F #5F1634
square
#585F16 #165F41 #1D165F #5F1634
split-complementary
#585F16 #16345F #41165F
monochromatic
#171906 #2A2D0A #585F16 #869122 #B4C22D

Accessibility & contrast

On white

6.86
#585F16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #585F16
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585F16#FFFFFF#000000##FFFFFF
##585F161.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #585f16;
/* rgb */ color: rgb(88, 95, 22);
/* oklch */ color: oklch(46.5% 0.094 114.9);
Tailwind
colors: {
  custom: {
    50: '#8a8c59',
    500: '#585f16',
    950: '#000000',
  },
}
SCSS
$custom: #585f16;
$custom-light: #8a8c59;
$custom-dark: #000000;
JSON
{
  "hex": "#585f16",
  "rgb": {
    "r": 88,
    "g": 95,
    "b": 22
  },
  "hsl": {
    "h": 65.753,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.46455,
    "c": 0.09392,
    "h": 114.9
  },
  "luminance": 0.10317
}

Semantic roles & 50–950 ramp

primary
#585F16
secondary
#443B96
accent
#42E552
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #585F16

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

Preview Lab → · Contrast checker → · Palette generator →

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