#5D5112#5D5112

#5D5112 is a dark, moderate yellow. Relative luminance 0.083; OKLCH L 43.5% C 0.081 H 97.9°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#5D5112
RGBrgb(93, 81, 18)
HSLhsl(50, 68%, 22%)
HSVhsv(50, 81%, 36%)
CMYKcmyk(0%, 12.9%, 80.6%, 63.5%)
CIE-LABlab(34.51, -2.63, 36.45)
CIE-LCHlch(34.51, 36.54, 94.13°)
OKLaboklab(43.46% -0.0111 0.08)
OKLCHoklch(43.46% 0.081 97.9)
XYZxyz(7.5662, 8.2561, 1.7672)
Luminance0.0826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5112 #121E5D
analogous
#5D2C12 #5D5112 #445D12
triadic
#5D5112 #125D51 #51125D
tetradic
#5D5112 #125D2C #121E5D #5D1244
square
#5D5112 #125D2C #121E5D #5D1244
split-complementary
#5D5112 #12445D #2C125D
monochromatic
#1A1605 #2A2408 #5D5112 #907E1C #C4AA26

Accessibility & contrast

On white

7.92
#5D5112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#5D5112 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D5112
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5112#FFFFFF#000000##FFFFFF
##5D51121.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F07
Deuteranopia (green-blind)
#5D5316
Tritanopia (blue-blind)
#654A45
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5d5112;
/* rgb */ color: rgb(93, 81, 18);
/* oklch */ color: oklch(43.5% 0.081 97.9);
Tailwind
colors: {
  custom: {
    50: '#8e8155',
    500: '#5d5112',
    950: '#000000',
  },
}
SCSS
$custom: #5d5112;
$custom-light: #8e8155;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5112",
  "rgb": {
    "r": 93,
    "g": 81,
    "b": 18
  },
  "hsl": {
    "h": 50.4,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.43456,
    "c": 0.08081,
    "h": 97.9
  },
  "luminance": 0.08256
}

Semantic roles & 50–950 ramp

primary
#5D5112
secondary
#354595
accent
#59EA3D
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5D5112

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

Preview Lab → · Contrast checker → · Palette generator →

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