#585012#585012

#585012 is a dark, moderate yellow. Relative luminance 0.079; OKLCH L 42.7% C 0.080 H 101.7°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#585012
RGBrgb(88, 80, 18)
HSLhsl(53, 66%, 21%)
HSVhsv(53, 80%, 35%)
CMYKcmyk(0%, 9.1%, 79.5%, 65.5%)
CIE-LABlab(33.68, -4.53, 35.48)
CIE-LCHlch(33.68, 35.77, 97.28°)
OKLaboklab(42.67% -0.0162 0.0782)
OKLCHoklch(42.67% 0.08 101.7)
XYZxyz(7.0027, 7.8560, 1.7197)
Luminance0.0786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585012 #121A58
analogous
#582D12 #585012 #3D5812
triadic
#585012 #125850 #501258
tetradic
#585012 #12582D #121A58 #58123D
square
#585012 #12582D #121A58 #58123D
split-complementary
#585012 #123D58 #2D1258
monochromatic
#191705 #252208 #585012 #8B7E1C #BEAC27

Accessibility & contrast

On white

8.17
#585012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#585012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #585012
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585012#FFFFFF#000000##FFFFFF
##5850121.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D07
Deuteranopia (green-blind)
#5B5116
Tritanopia (blue-blind)
#5F4A44
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #585012;
/* rgb */ color: rgb(88, 80, 18);
/* oklch */ color: oklch(42.7% 0.080 101.7);
Tailwind
colors: {
  custom: {
    50: '#8a8055',
    500: '#585012',
    950: '#000000',
  },
}
SCSS
$custom: #585012;
$custom-light: #8a8055;
$custom-dark: #000000;
JSON
{
  "hex": "#585012",
  "rgb": {
    "r": 88,
    "g": 80,
    "b": 18
  },
  "hsl": {
    "h": 53.143,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.42674,
    "c": 0.07987,
    "h": 101.7
  },
  "luminance": 0.07856
}

Semantic roles & 50–950 ramp

primary
#585012
secondary
#354091
accent
#52E93F
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #585012

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

Preview Lab → · Contrast checker → · Palette generator →

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