#5D5412#5D5412

#5D5412 is a dark, moderate yellow. Relative luminance 0.087; OKLCH L 44.2% C 0.083 H 101.2°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#5D5412
RGBrgb(93, 84, 18)
HSLhsl(53, 68%, 22%)
HSVhsv(53, 81%, 36%)
CMYKcmyk(0%, 9.7%, 80.6%, 63.5%)
CIE-LABlab(35.42, -4.43, 37.31)
CIE-LCHlch(35.42, 37.57, 96.77°)
OKLaboklab(44.18% -0.0162 0.0819)
OKLCHoklch(44.18% 0.083 101.2)
XYZxyz(7.7941, 8.7118, 1.8432)
Luminance0.0871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5412 #121B5D
analogous
#5D2F12 #5D5412 #415D12
triadic
#5D5412 #125D54 #54125D
tetradic
#5D5412 #125D2F #121B5D #5D1241
square
#5D5412 #125D2F #121B5D #5D1241
split-complementary
#5D5412 #12415D #2F125D
monochromatic
#1A1705 #2A2608 #5D5412 #90821C #C4B126

Accessibility & contrast

On white

7.66
#5D5412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#5D5412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D5412
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5412#FFFFFF#000000##FFFFFF
##5D54121.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5106
Deuteranopia (green-blind)
#5F5517
Tritanopia (blue-blind)
#654D47
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5d5412;
/* rgb */ color: rgb(93, 84, 18);
/* oklch */ color: oklch(44.2% 0.083 101.2);
Tailwind
colors: {
  custom: {
    50: '#8e8356',
    500: '#5d5412',
    950: '#000000',
  },
}
SCSS
$custom: #5d5412;
$custom-light: #8e8356;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5412",
  "rgb": {
    "r": 93,
    "g": 84,
    "b": 18
  },
  "hsl": {
    "h": 52.8,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.4418,
    "c": 0.08345,
    "h": 101.2
  },
  "luminance": 0.08711
}

Semantic roles & 50–950 ramp

primary
#5D5412
secondary
#354195
accent
#52EA3D
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5D5412

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

Preview Lab → · Contrast checker → · Palette generator →

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