#5D511B#5D511B

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

Color values

HEX#5D511B
RGBrgb(93, 81, 27)
HSLhsl(49, 55%, 24%)
HSVhsv(49, 71%, 36%)
CMYKcmyk(0%, 12.9%, 71%, 63.5%)
CIE-LABlab(34.58, -2.10, 32.46)
CIE-LCHlch(34.58, 32.53, 93.71°)
OKLaboklab(43.54% -0.0085 0.0734)
OKLCHoklch(43.54% 0.074 96.6)
XYZxyz(7.6548, 8.2915, 2.2339)
Luminance0.0829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D511B #1B275D
analogous
#5D301B #5D511B #485D1B
triadic
#5D511B #1B5D51 #511B5D
tetradic
#5D511B #1B5D30 #1B275D #5D1B48
square
#5D511B #1B5D30 #1B275D #5D1B48
split-complementary
#5D511B #1B485D #301B5D
monochromatic
#181507 #2E280D #5D511B #8C7A29 #BCA437

Accessibility & contrast

On white

7.90
#5D511B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D511B
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D511B#FFFFFF#000000##FFFFFF
##5D511B1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F14
Deuteranopia (green-blind)
#5D531E
Tritanopia (blue-blind)
#654B46
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5d511b;
/* rgb */ color: rgb(93, 81, 27);
/* oklch */ color: oklch(43.5% 0.074 96.6);
Tailwind
colors: {
  custom: {
    50: '#8d815a',
    500: '#5d511b',
    950: '#000000',
  },
}
SCSS
$custom: #5d511b;
$custom-light: #8d815a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d511b",
  "rgb": {
    "r": 93,
    "g": 81,
    "b": 27
  },
  "hsl": {
    "h": 49.091,
    "s": 55,
    "l": 23.529
  },
  "oklch": {
    "l": 0.43536,
    "c": 0.07393,
    "h": 96.6
  },
  "luminance": 0.08291
}

Semantic roles & 50–950 ramp

primary
#5D511B
secondary
#415093
accent
#65DE49
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #5D511B

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

Preview Lab → · Contrast checker → · Palette generator →

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