#585118#585118

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

Color values

HEX#585118
RGBrgb(88, 81, 24)
HSLhsl(53, 57%, 22%)
HSVhsv(53, 73%, 35%)
CMYKcmyk(0%, 8%, 72.7%, 65.5%)
CIE-LABlab(34.04, -4.78, 33.17)
CIE-LCHlch(34.04, 33.52, 98.20°)
OKLaboklab(42.97% -0.0162 0.0746)
OKLCHoklch(42.97% 0.076 102.3)
XYZxyz(7.1321, 8.0258, 2.0374)
Luminance0.0803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585118 #181F58
analogous
#583118 #585118 #3F5818
triadic
#585118 #185851 #511858
tetradic
#585118 #185831 #181F58 #58183F
square
#585118 #185831 #181F58 #58183F
split-complementary
#585118 #183F58 #311858
monochromatic
#181607 #28250B #585118 #887D25 #B8AA32

Accessibility & contrast

On white

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

On black

2.61
#585118 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##585118#FFFFFF#000000##FFFFFF
##5851181.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #585118;
/* rgb */ color: rgb(88, 81, 24);
/* oklch */ color: oklch(43.0% 0.076 102.3);
Tailwind
colors: {
  custom: {
    50: '#898158',
    500: '#585118',
    950: '#000000',
  },
}
SCSS
$custom: #585118;
$custom-light: #898158;
$custom-dark: #000000;
JSON
{
  "hex": "#585118",
  "rgb": {
    "r": 88,
    "g": 81,
    "b": 24
  },
  "hsl": {
    "h": 53.438,
    "s": 57.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42971,
    "c": 0.0763,
    "h": 102.3
  },
  "luminance": 0.08026
}

Semantic roles & 50–950 ramp

primary
#585118
secondary
#3D468F
accent
#58E047
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #585118

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

Preview Lab → · Contrast checker → · Palette generator →

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