#5D5312#5D5312

#5D5312 is a dark, moderate yellow. Relative luminance 0.086; OKLCH L 43.9% C 0.083 H 100.1°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#5D5312
RGBrgb(93, 83, 18)
HSLhsl(52, 68%, 22%)
HSVhsv(52, 81%, 36%)
CMYKcmyk(0%, 10.8%, 80.6%, 63.5%)
CIE-LABlab(35.12, -3.83, 37.02)
CIE-LCHlch(35.12, 37.22, 95.91°)
OKLaboklab(43.94% -0.0145 0.0813)
OKLCHoklch(43.94% 0.083 100.1)
XYZxyz(7.7170, 8.5577, 1.8175)
Luminance0.0856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5312 #121C5D
analogous
#5D2E12 #5D5312 #425D12
triadic
#5D5312 #125D53 #53125D
tetradic
#5D5312 #125D2E #121C5D #5D1242
square
#5D5312 #125D2E #121C5D #5D1242
split-complementary
#5D5312 #12425D #2E125D
monochromatic
#1A1705 #2A2508 #5D5312 #90811C #C4AF26

Accessibility & contrast

On white

7.75
#5D5312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#5D5312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D5312
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5312#FFFFFF#000000##FFFFFF
##5D53121.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5006
Deuteranopia (green-blind)
#5F5416
Tritanopia (blue-blind)
#654C47
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5d5312;
/* rgb */ color: rgb(93, 83, 18);
/* oklch */ color: oklch(43.9% 0.083 100.1);
Tailwind
colors: {
  custom: {
    50: '#8e8356',
    500: '#5d5312',
    950: '#000000',
  },
}
SCSS
$custom: #5d5312;
$custom-light: #8e8356;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5312",
  "rgb": {
    "r": 93,
    "g": 83,
    "b": 18
  },
  "hsl": {
    "h": 52,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.43938,
    "c": 0.08255,
    "h": 100.1
  },
  "luminance": 0.08557
}

Semantic roles & 50–950 ramp

primary
#5D5312
secondary
#354295
accent
#54EA3D
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5D5312

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

Preview Lab → · Contrast checker → · Palette generator →

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