#4C401C#4C401C

#4C401C is a dark, muted yellow. Relative luminance 0.053; OKLCH L 37.5% C 0.055 H 91.2°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#4C401C
RGBrgb(76, 64, 28)
HSLhsl(45, 46%, 20%)
HSVhsv(45, 63%, 30%)
CMYKcmyk(0%, 15.8%, 63.2%, 70.2%)
CIE-LABlab(27.54, -0.02, 23.61)
CIE-LCHlch(27.54, 23.61, 90.05°)
OKLaboklab(37.54% -0.0011 0.0552)
OKLCHoklch(37.54% 0.055 91.2)
XYZxyz(5.0237, 5.2874, 1.8543)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C401C #1C284C
analogous
#4C281C #4C401C #404C1C
triadic
#4C401C #1C4C40 #401C4C
tetradic
#4C401C #1C4C28 #1C284C #4C1C40
square
#4C401C #1C4C28 #1C284C #4C1C40
split-complementary
#4C401C #1C404C #281C4C
monochromatic
#161308 #1F1A0C #4C401C #79662C #A58B3D

Accessibility & contrast

On white

10.21
#4C401C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4C401C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C401C
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C401C#FFFFFF#000000##FFFFFF
##4C401C1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F19
Deuteranopia (green-blind)
#4A421D
Tritanopia (blue-blind)
#523B38
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4c401c;
/* rgb */ color: rgb(76, 64, 28);
/* oklch */ color: oklch(37.5% 0.055 91.2);
Tailwind
colors: {
  custom: {
    50: '#807459',
    500: '#4c401c',
    950: '#000000',
  },
}
SCSS
$custom: #4c401c;
$custom-light: #807459;
$custom-dark: #000000;
JSON
{
  "hex": "#4c401c",
  "rgb": {
    "r": 76,
    "g": 64,
    "b": 28
  },
  "hsl": {
    "h": 45,
    "s": 46.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.37536,
    "c": 0.05522,
    "h": 91.2
  },
  "luminance": 0.05287
}

Semantic roles & 50–950 ramp

primary
#4C401C
secondary
#425282
accent
#73D652
background
#F7F7F5
surface
#EEEDE9
border
#C9C8C5
text
#0A0803
muted
#7C7B78

Preview Lab

Preview with #4C401C

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

Preview Lab → · Contrast checker → · Palette generator →

#4C401C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva