#5D511F#5D511F

#5D511F is a dark, moderate yellow. Relative luminance 0.083; OKLCH L 43.6% C 0.070 H 95.8°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#5D511F
RGBrgb(93, 81, 31)
HSLhsl(48, 50%, 24%)
HSVhsv(48, 67%, 36%)
CMYKcmyk(0%, 12.9%, 66.7%, 63.5%)
CIE-LABlab(34.62, -1.81, 30.48)
CIE-LCHlch(34.62, 30.53, 93.41°)
OKLaboklab(43.58% -0.0071 0.0699)
OKLCHoklch(43.58% 0.07 95.8)
XYZxyz(7.7043, 8.3113, 2.4945)
Luminance0.0831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D511F #1F2B5D
analogous
#5D321F #5D511F #4A5D1F
triadic
#5D511F #1F5D51 #511F5D
tetradic
#5D511F #1F5D32 #1F2B5D #5D1F4A
square
#5D511F #1F5D32 #1F2B5D #5D1F4A
split-complementary
#5D511F #1F4A5D #321F5D
monochromatic
#171408 #2F2910 #5D511F #8B792E #B9A13E

Accessibility & contrast

On white

7.89
#5D511F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#5D511F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D511F
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D511F#FFFFFF#000000##FFFFFF
##5D511F1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F1A
Deuteranopia (green-blind)
#5C5321
Tritanopia (blue-blind)
#644B46
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5d511f;
/* rgb */ color: rgb(93, 81, 31);
/* oklch */ color: oklch(43.6% 0.070 95.8);
Tailwind
colors: {
  custom: {
    50: '#8d815d',
    500: '#5d511f',
    950: '#000000',
  },
}
SCSS
$custom: #5d511f;
$custom-light: #8d815d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d511f",
  "rgb": {
    "r": 93,
    "g": 81,
    "b": 31
  },
  "hsl": {
    "h": 48.387,
    "s": 50,
    "l": 24.314
  },
  "oklch": {
    "l": 0.43581,
    "c": 0.07027,
    "h": 95.8
  },
  "luminance": 0.08311
}

Semantic roles & 50–950 ramp

primary
#5D511F
secondary
#465592
accent
#69DA4E
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #5D511F

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

Preview Lab → · Contrast checker → · Palette generator →

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