#585112#585112

#585112 is a dark, moderate yellow. Relative luminance 0.080; OKLCH L 42.9% C 0.081 H 102.8°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#585112
RGBrgb(88, 81, 18)
HSLhsl(54, 66%, 21%)
HSVhsv(54, 80%, 35%)
CMYKcmyk(0%, 8%, 79.5%, 65.5%)
CIE-LABlab(33.99, -5.13, 35.77)
CIE-LCHlch(33.99, 36.14, 98.16°)
OKLaboklab(42.92% -0.0179 0.0788)
OKLCHoklch(42.92% 0.081 102.8)
XYZxyz(7.0764, 8.0035, 1.7442)
Luminance0.0800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585112 #121958
analogous
#582E12 #585112 #3C5812
triadic
#585112 #125851 #511258
tetradic
#585112 #12582E #121958 #58123C
square
#585112 #12582E #121958 #58123C
split-complementary
#585112 #123C58 #2E1258
monochromatic
#191705 #252208 #585112 #8B801C #BEAF27

Accessibility & contrast

On white

8.08
#585112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #585112
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585112#FFFFFF#000000##FFFFFF
##5851121.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #585112;
/* rgb */ color: rgb(88, 81, 18);
/* oklch */ color: oklch(42.9% 0.081 102.8);
Tailwind
colors: {
  custom: {
    50: '#8a8155',
    500: '#585112',
    950: '#000000',
  },
}
SCSS
$custom: #585112;
$custom-light: #8a8155;
$custom-dark: #000000;
JSON
{
  "hex": "#585112",
  "rgb": {
    "r": 88,
    "g": 81,
    "b": 18
  },
  "hsl": {
    "h": 54,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.4292,
    "c": 0.08084,
    "h": 102.8
  },
  "luminance": 0.08003
}

Semantic roles & 50–950 ramp

primary
#585112
secondary
#353E91
accent
#50E93F
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #585112

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

Preview Lab → · Contrast checker → · Palette generator →

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