#5C511E#5C511E

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

Color values

HEX#5C511E
RGBrgb(92, 81, 30)
HSLhsl(49, 51%, 24%)
HSVhsv(49, 67%, 36%)
CMYKcmyk(0%, 12%, 67.4%, 63.9%)
CIE-LABlab(34.51, -2.38, 30.84)
CIE-LCHlch(34.51, 30.93, 94.42°)
OKLaboklab(43.46% -0.0088 0.0706)
OKLCHoklch(43.46% 0.071 97.1)
XYZxyz(7.5907, 8.2543, 2.4214)
Luminance0.0825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C511E #1E295C
analogous
#5C321E #5C511E #485C1E
triadic
#5C511E #1E5C51 #511E5C
tetradic
#5C511E #1E5C32 #1E295C #5C1E48
square
#5C511E #1E5C32 #1E295C #5C1E48
split-complementary
#5C511E #1E485C #321E5C
monochromatic
#171408 #2E280F #5C511E #8A7A2D #B8A23C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #5c511e;
/* rgb */ color: rgb(92, 81, 30);
/* oklch */ color: oklch(43.5% 0.071 97.1);
Tailwind
colors: {
  custom: {
    50: '#8c815c',
    500: '#5c511e',
    950: '#000000',
  },
}
SCSS
$custom: #5c511e;
$custom-light: #8c815c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c511e",
  "rgb": {
    "r": 92,
    "g": 81,
    "b": 30
  },
  "hsl": {
    "h": 49.355,
    "s": 50.82,
    "l": 23.922
  },
  "oklch": {
    "l": 0.43461,
    "c": 0.0711,
    "h": 97.1
  },
  "luminance": 0.08254
}

Semantic roles & 50–950 ramp

primary
#5C511E
secondary
#455291
accent
#66DA4D
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #5C511E

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

Preview Lab → · Contrast checker → · Palette generator →

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