#5D511E#5D511E

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

Color values

HEX#5D511E
RGBrgb(93, 81, 30)
HSLhsl(49, 51%, 24%)
HSVhsv(49, 68%, 36%)
CMYKcmyk(0%, 12.9%, 67.7%, 63.5%)
CIE-LABlab(34.61, -1.89, 30.98)
CIE-LCHlch(34.61, 31.04, 93.49°)
OKLaboklab(43.57% -0.0075 0.0708)
OKLCHoklch(43.57% 0.071 96)
XYZxyz(7.6913, 8.3061, 2.4262)
Luminance0.0831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D511E #1E2A5D
analogous
#5D321E #5D511E #4A5D1E
triadic
#5D511E #1E5D51 #511E5D
tetradic
#5D511E #1E5D32 #1E2A5D #5D1E4A
square
#5D511E #1E5D32 #1E2A5D #5D1E4A
split-complementary
#5D511E #1E4A5D #321E5D
monochromatic
#171407 #2F290F #5D511E #8B792D #BAA23C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D511E#FFFFFF#000000##FFFFFF
##5D511E1.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)
#594F18
Deuteranopia (green-blind)
#5C5320
Tritanopia (blue-blind)
#654B46
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5d511e;
/* rgb */ color: rgb(93, 81, 30);
/* oklch */ color: oklch(43.6% 0.071 96.0);
Tailwind
colors: {
  custom: {
    50: '#8d815c',
    500: '#5d511e',
    950: '#000000',
  },
}
SCSS
$custom: #5d511e;
$custom-light: #8d815c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d511e",
  "rgb": {
    "r": 93,
    "g": 81,
    "b": 30
  },
  "hsl": {
    "h": 48.571,
    "s": 51.22,
    "l": 24.118
  },
  "oklch": {
    "l": 0.43569,
    "c": 0.07122,
    "h": 96
  },
  "luminance": 0.08306
}

Semantic roles & 50–950 ramp

primary
#5D511E
secondary
#455492
accent
#68DB4D
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #5D511E

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

Preview Lab → · Contrast checker → · Palette generator →

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