#584D12#584D12

#584D12 is a dark, moderate yellow. Relative luminance 0.074; OKLCH L 41.9% C 0.077 H 98.3°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#584D12
RGBrgb(88, 77, 18)
HSLhsl(51, 66%, 21%)
HSVhsv(51, 80%, 35%)
CMYKcmyk(0%, 12.5%, 79.5%, 65.5%)
CIE-LABlab(32.76, -2.72, 34.59)
CIE-LCHlch(32.76, 34.70, 94.50°)
OKLaboklab(41.94% -0.0111 0.0763)
OKLCHoklch(41.94% 0.077 98.3)
XYZxyz(6.7879, 7.4265, 1.6481)
Luminance0.0743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#584D12 #121D58
analogous
#582A12 #584D12 #405812
triadic
#584D12 #12584D #4D1258
tetradic
#584D12 #12582A #121D58 #581240
square
#584D12 #12582A #121D58 #581240
split-complementary
#584D12 #124058 #2A1258
monochromatic
#191605 #252108 #584D12 #8B791C #BEA627

Accessibility & contrast

On white

8.45
#584D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#584D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #584D12
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##584D12#FFFFFF#000000##FFFFFF
##584D121.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B08
Deuteranopia (green-blind)
#584F16
Tritanopia (blue-blind)
#604741
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #584d12;
/* rgb */ color: rgb(88, 77, 18);
/* oklch */ color: oklch(41.9% 0.077 98.3);
Tailwind
colors: {
  custom: {
    50: '#8a7e55',
    500: '#584d12',
    950: '#000000',
  },
}
SCSS
$custom: #584d12;
$custom-light: #8a7e55;
$custom-dark: #000000;
JSON
{
  "hex": "#584d12",
  "rgb": {
    "r": 88,
    "g": 77,
    "b": 18
  },
  "hsl": {
    "h": 50.571,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41942,
    "c": 0.07713,
    "h": 98.3
  },
  "luminance": 0.07426
}

Semantic roles & 50–950 ramp

primary
#584D12
secondary
#354491
accent
#5AE93F
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0903
muted
#7D7B78

Preview Lab

Preview with #584D12

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

Preview Lab → · Contrast checker → · Palette generator →

#584D12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva