#5D4D12#5D4D12

#5D4D12 is a dark, moderate yellow. Relative luminance 0.077; OKLCH L 42.5% C 0.078 H 93.1°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#5D4D12
RGBrgb(93, 77, 18)
HSLhsl(47, 68%, 22%)
HSVhsv(47, 81%, 36%)
CMYKcmyk(0%, 17.2%, 80.6%, 63.5%)
CIE-LABlab(33.31, -0.20, 35.31)
CIE-LCHlch(33.31, 35.31, 90.33°)
OKLaboklab(42.5% -0.0042 0.0776)
OKLCHoklch(42.5% 0.078 93.1)
XYZxyz(7.2777, 7.6790, 1.6710)
Luminance0.0768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4D12 #12225D
analogous
#5D2812 #5D4D12 #485D12
triadic
#5D4D12 #125D4D #4D125D
tetradic
#5D4D12 #125D28 #12225D #5D1248
square
#5D4D12 #125D28 #12225D #5D1248
split-complementary
#5D4D12 #12485D #28125D
monochromatic
#1A1505 #2A2308 #5D4D12 #90771C #C4A226

Accessibility & contrast

On white

8.28
#5D4D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#5D4D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D4D12
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4D12#FFFFFF#000000##FFFFFF
##5D4D121.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C08
Deuteranopia (green-blind)
#5A5015
Tritanopia (blue-blind)
#654641
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5d4d12;
/* rgb */ color: rgb(93, 77, 18);
/* oklch */ color: oklch(42.5% 0.078 93.1);
Tailwind
colors: {
  custom: {
    50: '#8e7e55',
    500: '#5d4d12',
    950: '#000000',
  },
}
SCSS
$custom: #5d4d12;
$custom-light: #8e7e55;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4d12",
  "rgb": {
    "r": 93,
    "g": 77,
    "b": 18
  },
  "hsl": {
    "h": 47.2,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42502,
    "c": 0.07773,
    "h": 93.1
  },
  "luminance": 0.07679
}

Semantic roles & 50–950 ramp

primary
#5D4D12
secondary
#354A95
accent
#62EA3D
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0903
muted
#7E7B78

Preview Lab

Preview with #5D4D12

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

Preview Lab → · Contrast checker → · Palette generator →

#5D4D12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva