#585412#585412

#585412 is a dark, moderate yellow. Relative luminance 0.085; OKLCH L 43.7% C 0.084 H 105.9°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#585412
RGBrgb(88, 84, 18)
HSLhsl(57, 66%, 21%)
HSVhsv(57, 80%, 35%)
CMYKcmyk(0%, 4.5%, 79.5%, 65.5%)
CIE-LABlab(34.92, -6.91, 36.66)
CIE-LCHlch(34.92, 37.30, 100.68°)
OKLaboklab(43.66% -0.0229 0.0807)
OKLCHoklch(43.66% 0.084 105.9)
XYZxyz(7.3043, 8.4593, 1.8202)
Luminance0.0846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585412 #121658
analogous
#583112 #585412 #395812
triadic
#585412 #125854 #541258
tetradic
#585412 #125831 #121658 #581239
square
#585412 #125831 #121658 #581239
split-complementary
#585412 #123958 #311258
monochromatic
#191805 #252408 #585412 #8B841C #BEB527

Accessibility & contrast

On white

7.80
#585412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#585412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #585412
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585412#FFFFFF#000000##FFFFFF
##5854121.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5106
Deuteranopia (green-blind)
#5E5317
Tritanopia (blue-blind)
#5F4E47
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #585412;
/* rgb */ color: rgb(88, 84, 18);
/* oklch */ color: oklch(43.7% 0.084 105.9);
Tailwind
colors: {
  custom: {
    50: '#8a8356',
    500: '#585412',
    950: '#000000',
  },
}
SCSS
$custom: #585412;
$custom-light: #8a8356;
$custom-dark: #000000;
JSON
{
  "hex": "#585412",
  "rgb": {
    "r": 88,
    "g": 84,
    "b": 18
  },
  "hsl": {
    "h": 56.571,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.43661,
    "c": 0.0839,
    "h": 105.9
  },
  "luminance": 0.08459
}

Semantic roles & 50–950 ramp

primary
#585412
secondary
#353A91
accent
#49E93F
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #585412

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

Preview Lab → · Contrast checker → · Palette generator →

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