#5C511C#5C511C

#5C511C is a dark, moderate yellow. Relative luminance 0.082; OKLCH L 43.4% C 0.073 H 97.5°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#5C511C
RGBrgb(92, 81, 28)
HSLhsl(50, 53%, 24%)
HSVhsv(50, 70%, 36%)
CMYKcmyk(0%, 12%, 69.6%, 63.9%)
CIE-LABlab(34.49, -2.53, 31.83)
CIE-LCHlch(34.49, 31.93, 94.54°)
OKLaboklab(43.44% -0.0095 0.0723)
OKLCHoklch(43.44% 0.073 97.5)
XYZxyz(7.5660, 8.2444, 2.2912)
Luminance0.0824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C511C #1C275C
analogous
#5C311C #5C511C #475C1C
triadic
#5C511C #1C5C51 #511C5C
tetradic
#5C511C #1C5C31 #1C275C #5C1C47
square
#5C511C #1C5C31 #1C275C #5C1C47
split-complementary
#5C511C #1C475C #311C5C
monochromatic
#171507 #2D280E #5C511C #8B7A2A #BAA439

Accessibility & contrast

On white

7.93
#5C511C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C511C
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C511C#FFFFFF#000000##FFFFFF
##5C511C1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F16
Deuteranopia (green-blind)
#5C531F
Tritanopia (blue-blind)
#634B46
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5c511c;
/* rgb */ color: rgb(92, 81, 28);
/* oklch */ color: oklch(43.4% 0.073 97.5);
Tailwind
colors: {
  custom: {
    50: '#8c815b',
    500: '#5c511c',
    950: '#000000',
  },
}
SCSS
$custom: #5c511c;
$custom-light: #8c815b;
$custom-dark: #000000;
JSON
{
  "hex": "#5c511c",
  "rgb": {
    "r": 92,
    "g": 81,
    "b": 28
  },
  "hsl": {
    "h": 49.688,
    "s": 53.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.43438,
    "c": 0.07293,
    "h": 97.5
  },
  "luminance": 0.08244
}

Semantic roles & 50–950 ramp

primary
#5C511C
secondary
#425091
accent
#64DD4B
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #5C511C

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

Preview Lab → · Contrast checker → · Palette generator →

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