#585117#585117

#585117 is a dark, moderate yellow. Relative luminance 0.080; OKLCH L 43.0% C 0.077 H 102.4°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#585117
RGBrgb(88, 81, 23)
HSLhsl(54, 59%, 22%)
HSVhsv(54, 74%, 35%)
CMYKcmyk(0%, 8%, 73.9%, 65.5%)
CIE-LABlab(34.03, -4.85, 33.63)
CIE-LCHlch(34.03, 33.98, 98.20°)
OKLaboklab(42.96% -0.0165 0.0753)
OKLCHoklch(42.96% 0.077 102.4)
XYZxyz(7.1219, 8.0217, 1.9837)
Luminance0.0802 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585117 #171E58
analogous
#583117 #585117 #3F5817
triadic
#585117 #175851 #511758
tetradic
#585117 #175831 #171E58 #58173F
square
#585117 #175831 #171E58 #58173F
split-complementary
#585117 #173F58 #311758
monochromatic
#181606 #27240A #585117 #897E24 #B9AA30

Accessibility & contrast

On white

8.06
#585117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#585117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #585117
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585117#FFFFFF#000000##FFFFFF
##5851171.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E0F
Deuteranopia (green-blind)
#5B511B
Tritanopia (blue-blind)
#5F4B45
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #585117;
/* rgb */ color: rgb(88, 81, 23);
/* oklch */ color: oklch(43.0% 0.077 102.4);
Tailwind
colors: {
  custom: {
    50: '#8a8158',
    500: '#585117',
    950: '#000000',
  },
}
SCSS
$custom: #585117;
$custom-light: #8a8158;
$custom-dark: #000000;
JSON
{
  "hex": "#585117",
  "rgb": {
    "r": 88,
    "g": 81,
    "b": 23
  },
  "hsl": {
    "h": 53.538,
    "s": 58.559,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42962,
    "c": 0.07712,
    "h": 102.4
  },
  "luminance": 0.08021
}

Semantic roles & 50–950 ramp

primary
#585117
secondary
#3C458F
accent
#57E246
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #585117

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

Preview Lab → · Contrast checker → · Palette generator →

#585117 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva