#5D511C#5D511C

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

Color values

HEX#5D511C
RGBrgb(93, 81, 28)
HSLhsl(49, 54%, 24%)
HSVhsv(49, 70%, 36%)
CMYKcmyk(0%, 12.9%, 69.9%, 63.5%)
CIE-LABlab(34.59, -2.03, 31.97)
CIE-LCHlch(34.59, 32.04, 93.64°)
OKLaboklab(43.55% -0.0082 0.0726)
OKLCHoklch(43.55% 0.073 96.4)
XYZxyz(7.6666, 8.2962, 2.2959)
Luminance0.0830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D511C #1C285D
analogous
#5D301C #5D511C #485D1C
triadic
#5D511C #1C5D51 #511C5D
tetradic
#5D511C #1C5D30 #1C285D #5D1C48
square
#5D511C #1C5D30 #1C285D #5D1C48
split-complementary
#5D511C #1C485D #301C5D
monochromatic
#181407 #2E280E #5D511C #8C7A2A #BBA338

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D511C#FFFFFF#000000##FFFFFF
##5D511C1.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)
#594F16
Deuteranopia (green-blind)
#5D531F
Tritanopia (blue-blind)
#654B46
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5d511c;
/* rgb */ color: rgb(93, 81, 28);
/* oklch */ color: oklch(43.5% 0.073 96.4);
Tailwind
colors: {
  custom: {
    50: '#8d815b',
    500: '#5d511c',
    950: '#000000',
  },
}
SCSS
$custom: #5d511c;
$custom-light: #8d815b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d511c",
  "rgb": {
    "r": 93,
    "g": 81,
    "b": 28
  },
  "hsl": {
    "h": 48.923,
    "s": 53.719,
    "l": 23.725
  },
  "oklch": {
    "l": 0.43547,
    "c": 0.07305,
    "h": 96.4
  },
  "luminance": 0.08296
}

Semantic roles & 50–950 ramp

primary
#5D511C
secondary
#425192
accent
#66DD4B
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #5D511C

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

Preview Lab → · Contrast checker → · Palette generator →

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