#585F15#585F15

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

Color values

HEX#585F15
RGBrgb(88, 95, 21)
HSLhsl(66, 64%, 23%)
HSVhsv(66, 78%, 37%)
CMYKcmyk(7.4%, 0%, 77.9%, 62.7%)
CIE-LABlab(38.40, -13.08, 38.78)
CIE-LCHlch(38.40, 40.93, 108.63°)
OKLaboklab(46.45% -0.0398 0.0858)
OKLCHoklch(46.45% 0.095 114.9)
XYZxyz(8.2523, 10.3134, 2.2653)
Luminance0.1031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585F15 #1C155F
analogous
#5F4115 #585F15 #335F15
triadic
#585F15 #15585F #5F1558
tetradic
#585F15 #155F41 #1C155F #5F1533
square
#585F15 #155F41 #1C155F #5F1533
split-complementary
#585F15 #15335F #41155F
monochromatic
#171906 #2A2D0A #585F15 #869120 #B5C32B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##585F15#FFFFFF#000000##FFFFFF
##585F151.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)
#665A07
Deuteranopia (green-blind)
#665B1B
Tritanopia (blue-blind)
#5E5951
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #585f15;
/* rgb */ color: rgb(88, 95, 21);
/* oklch */ color: oklch(46.4% 0.095 114.9);
Tailwind
colors: {
  custom: {
    50: '#8a8c59',
    500: '#585f15',
    950: '#000000',
  },
}
SCSS
$custom: #585f15;
$custom-light: #8a8c59;
$custom-dark: #000000;
JSON
{
  "hex": "#585f15",
  "rgb": {
    "r": 88,
    "g": 95,
    "b": 21
  },
  "hsl": {
    "h": 65.676,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.46448,
    "c": 0.09459,
    "h": 114.9
  },
  "luminance": 0.10313
}

Semantic roles & 50–950 ramp

primary
#585F15
secondary
#423A96
accent
#41E751
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #585F15

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

Preview Lab → · Contrast checker → · Palette generator →

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