#5D5114#5D5114

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

Color values

HEX#5D5114
RGBrgb(93, 81, 20)
HSLhsl(50, 65%, 22%)
HSVhsv(50, 78%, 36%)
CMYKcmyk(0%, 12.9%, 78.5%, 63.5%)
CIE-LABlab(34.52, -2.53, 35.63)
CIE-LCHlch(34.52, 35.72, 94.06°)
OKLaboklab(43.47% -0.0106 0.0787)
OKLCHoklch(43.47% 0.079 97.7)
XYZxyz(7.5833, 8.2629, 1.8572)
Luminance0.0826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5114 #14205D
analogous
#5D2D14 #5D5114 #455D14
triadic
#5D5114 #145D51 #51145D
tetradic
#5D5114 #145D2D #14205D #5D1445
square
#5D5114 #145D2D #14205D #5D1445
split-complementary
#5D5114 #14455D #2D145D
monochromatic
#191605 #2B2509 #5D5114 #8F7D1F #C2A92A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D5114#FFFFFF#000000##FFFFFF
##5D51141.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)
#5A4F0A
Deuteranopia (green-blind)
#5D5318
Tritanopia (blue-blind)
#654A45
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5d5114;
/* rgb */ color: rgb(93, 81, 20);
/* oklch */ color: oklch(43.5% 0.079 97.7);
Tailwind
colors: {
  custom: {
    50: '#8e8156',
    500: '#5d5114',
    950: '#000000',
  },
}
SCSS
$custom: #5d5114;
$custom-light: #8e8156;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5114",
  "rgb": {
    "r": 93,
    "g": 81,
    "b": 20
  },
  "hsl": {
    "h": 50.137,
    "s": 64.602,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43472,
    "c": 0.07944,
    "h": 97.7
  },
  "luminance": 0.08263
}

Semantic roles & 50–950 ramp

primary
#5D5114
secondary
#384795
accent
#5CE840
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5D5114

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

Preview Lab → · Contrast checker → · Palette generator →

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