#5C501F#5C501F

#5C501F is a dark, moderate yellow. Relative luminance 0.081; OKLCH L 43.2% C 0.069 H 95.6°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#5C501F
RGBrgb(92, 80, 31)
HSLhsl(48, 50%, 24%)
HSVhsv(48, 66%, 36%)
CMYKcmyk(0%, 13%, 66.3%, 63.9%)
CIE-LABlab(34.21, -1.70, 30.00)
CIE-LCHlch(34.21, 30.05, 93.24°)
OKLaboklab(43.23% -0.0067 0.0689)
OKLCHoklch(43.23% 0.069 95.6)
XYZxyz(7.5299, 8.1119, 2.4652)
Luminance0.0811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C501F #1F2B5C
analogous
#5C321F #5C501F #4A5C1F
triadic
#5C501F #1F5C50 #501F5C
tetradic
#5C501F #1F5C32 #1F2B5C #5C1F4A
square
#5C501F #1F5C32 #1F2B5C #5C1F4A
split-complementary
#5C501F #1F4A5C #321F5C
monochromatic
#171408 #2E2810 #5C501F #8A782E #B8A03E

Accessibility & contrast

On white

8.01
#5C501F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#5C501F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C501F
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C501F#FFFFFF#000000##FFFFFF
##5C501F1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E1A
Deuteranopia (green-blind)
#5B5221
Tritanopia (blue-blind)
#634A45
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5c501f;
/* rgb */ color: rgb(92, 80, 31);
/* oklch */ color: oklch(43.2% 0.069 95.6);
Tailwind
colors: {
  custom: {
    50: '#8c805d',
    500: '#5c501f',
    950: '#000000',
  },
}
SCSS
$custom: #5c501f;
$custom-light: #8c805d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c501f",
  "rgb": {
    "r": 92,
    "g": 80,
    "b": 31
  },
  "hsl": {
    "h": 48.197,
    "s": 49.593,
    "l": 24.118
  },
  "oklch": {
    "l": 0.43233,
    "c": 0.06925,
    "h": 95.6
  },
  "luminance": 0.08112
}

Semantic roles & 50–950 ramp

primary
#5C501F
secondary
#465591
accent
#6AD94F
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #5C501F

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

Preview Lab → · Contrast checker → · Palette generator →

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