#5C511F#5C511F

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

Color values

HEX#5C511F
RGBrgb(92, 81, 31)
HSLhsl(49, 50%, 24%)
HSVhsv(49, 66%, 36%)
CMYKcmyk(0%, 12%, 66.3%, 63.9%)
CIE-LABlab(34.52, -2.31, 30.33)
CIE-LCHlch(34.52, 30.42, 94.35°)
OKLaboklab(43.47% -0.0085 0.0696)
OKLCHoklch(43.47% 0.07 96.9)
XYZxyz(7.6037, 8.2595, 2.4898)
Luminance0.0826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C511F #1F2A5C
analogous
#5C331F #5C511F #495C1F
triadic
#5C511F #1F5C51 #511F5C
tetradic
#5C511F #1F5C33 #1F2A5C #5C1F49
square
#5C511F #1F5C33 #1F2A5C #5C1F49
split-complementary
#5C511F #1F495C #331F5C
monochromatic
#171408 #2E2910 #5C511F #8A792E #B8A23E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C511F#FFFFFF#000000##FFFFFF
##5C511F1.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)
#594F1A
Deuteranopia (green-blind)
#5C5321
Tritanopia (blue-blind)
#634B46
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5c511f;
/* rgb */ color: rgb(92, 81, 31);
/* oklch */ color: oklch(43.5% 0.070 96.9);
Tailwind
colors: {
  custom: {
    50: '#8c815d',
    500: '#5c511f',
    950: '#000000',
  },
}
SCSS
$custom: #5c511f;
$custom-light: #8c815d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c511f",
  "rgb": {
    "r": 92,
    "g": 81,
    "b": 31
  },
  "hsl": {
    "h": 49.18,
    "s": 49.593,
    "l": 24.118
  },
  "oklch": {
    "l": 0.43473,
    "c": 0.07014,
    "h": 96.9
  },
  "luminance": 0.08259
}

Semantic roles & 50–950 ramp

primary
#5C511F
secondary
#465491
accent
#68D94F
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #5C511F

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

Preview Lab → · Contrast checker → · Palette generator →

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