#5D5214#5D5214

#5D5214 is a dark, moderate yellow. Relative luminance 0.084; OKLCH L 43.7% C 0.080 H 98.8°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#5D5214
RGBrgb(93, 82, 20)
HSLhsl(51, 65%, 22%)
HSVhsv(51, 78%, 36%)
CMYKcmyk(0%, 11.8%, 78.5%, 63.5%)
CIE-LABlab(34.83, -3.13, 35.92)
CIE-LCHlch(34.83, 36.06, 94.98°)
OKLaboklab(43.71% -0.0123 0.0794)
OKLCHoklch(43.71% 0.08 98.8)
XYZxyz(7.6581, 8.4126, 1.8821)
Luminance0.0841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5214 #141F5D
analogous
#5D2E14 #5D5214 #445D14
triadic
#5D5214 #145D52 #52145D
tetradic
#5D5214 #145D2E #141F5D #5D1444
square
#5D5214 #145D2E #141F5D #5D1444
split-complementary
#5D5214 #14445D #2E145D
monochromatic
#191605 #2B2609 #5D5214 #8F7E1F #C2AB2A

Accessibility & contrast

On white

7.83
#5D5214 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#5D5214 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D5214
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5214#FFFFFF#000000##FFFFFF
##5D52141.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5009
Deuteranopia (green-blind)
#5E5418
Tritanopia (blue-blind)
#654B46
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5d5214;
/* rgb */ color: rgb(93, 82, 20);
/* oklch */ color: oklch(43.7% 0.080 98.8);
Tailwind
colors: {
  custom: {
    50: '#8e8256',
    500: '#5d5214',
    950: '#000000',
  },
}
SCSS
$custom: #5d5214;
$custom-light: #8e8256;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5214",
  "rgb": {
    "r": 93,
    "g": 82,
    "b": 20
  },
  "hsl": {
    "h": 50.959,
    "s": 64.602,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43712,
    "c": 0.08031,
    "h": 98.8
  },
  "luminance": 0.08412
}

Semantic roles & 50–950 ramp

primary
#5D5214
secondary
#384695
accent
#59E840
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0D0A03
muted
#7D7C78

Preview Lab

Preview with #5D5214

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

Preview Lab → · Contrast checker → · Palette generator →

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