#5D4E12#5D4E12

#5D4E12 is a dark, moderate yellow. Relative luminance 0.078; OKLCH L 42.7% C 0.078 H 94.4°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#5D4E12
RGBrgb(93, 78, 18)
HSLhsl(48, 68%, 22%)
HSVhsv(48, 81%, 36%)
CMYKcmyk(0%, 16.1%, 80.6%, 63.5%)
CIE-LABlab(33.61, -0.81, 35.59)
CIE-LCHlch(33.61, 35.60, 91.31°)
OKLaboklab(42.74% -0.006 0.0782)
OKLCHoklch(42.74% 0.078 94.4)
XYZxyz(7.3482, 7.8200, 1.6945)
Luminance0.0782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4E12 #12215D
analogous
#5D2912 #5D4E12 #475D12
triadic
#5D4E12 #125D4E #4E125D
tetradic
#5D4E12 #125D29 #12215D #5D1247
square
#5D4E12 #125D29 #12215D #5D1247
split-complementary
#5D4E12 #12475D #29125D
monochromatic
#1A1605 #2A2308 #5D4E12 #90791C #C4A426

Accessibility & contrast

On white

8.19
#5D4E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#5D4E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D4E12
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4E12#FFFFFF#000000##FFFFFF
##5D4E121.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C07
Deuteranopia (green-blind)
#5B5116
Tritanopia (blue-blind)
#654742
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5d4e12;
/* rgb */ color: rgb(93, 78, 18);
/* oklch */ color: oklch(42.7% 0.078 94.4);
Tailwind
colors: {
  custom: {
    50: '#8e7f55',
    500: '#5d4e12',
    950: '#000000',
  },
}
SCSS
$custom: #5d4e12;
$custom-light: #8e7f55;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4e12",
  "rgb": {
    "r": 93,
    "g": 78,
    "b": 18
  },
  "hsl": {
    "h": 48,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.4274,
    "c": 0.07844,
    "h": 94.4
  },
  "luminance": 0.0782
}

Semantic roles & 50–950 ramp

primary
#5D4E12
secondary
#354995
accent
#60EA3D
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5D4E12

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

Preview Lab → · Contrast checker → · Palette generator →

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