#4C401B#4C401B

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

Color values

HEX#4C401B
RGBrgb(76, 64, 27)
HSLhsl(45, 48%, 20%)
HSVhsv(45, 64%, 30%)
CMYKcmyk(0%, 15.8%, 64.5%, 70.2%)
CIE-LABlab(27.53, -0.11, 24.17)
CIE-LCHlch(27.53, 24.17, 90.27°)
OKLaboklab(37.52% -0.0015 0.0563)
OKLCHoklch(37.52% 0.056 91.5)
XYZxyz(5.0119, 5.2827, 1.7924)
Luminance0.0528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C401B #1B274C
analogous
#4C271B #4C401B #3F4C1B
triadic
#4C401B #1B4C40 #401B4C
tetradic
#4C401B #1B4C27 #1B274C #4C1B3F
square
#4C401B #1B4C27 #1B274C #4C1B3F
split-complementary
#4C401B #1B3F4C #271B4C
monochromatic
#171308 #1F1A0B #4C401B #79662B #A68C3B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C401B#FFFFFF#000000##FFFFFF
##4C401B1.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)
#473F17
Deuteranopia (green-blind)
#4A421D
Tritanopia (blue-blind)
#523B38
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4c401b;
/* rgb */ color: rgb(76, 64, 27);
/* oklch */ color: oklch(37.5% 0.056 91.5);
Tailwind
colors: {
  custom: {
    50: '#807459',
    500: '#4c401b',
    950: '#000000',
  },
}
SCSS
$custom: #4c401b;
$custom-light: #807459;
$custom-dark: #000000;
JSON
{
  "hex": "#4c401b",
  "rgb": {
    "r": 76,
    "g": 64,
    "b": 27
  },
  "hsl": {
    "h": 45.306,
    "s": 47.573,
    "l": 20.196
  },
  "oklch": {
    "l": 0.37522,
    "c": 0.05629,
    "h": 91.5
  },
  "luminance": 0.05282
}

Semantic roles & 50–950 ramp

primary
#4C401B
secondary
#415182
accent
#72D751
background
#F7F7F5
surface
#EEEDE9
border
#C9C8C5
text
#0A0803
muted
#7C7B78

Preview Lab

Preview with #4C401B

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

Preview Lab → · Contrast checker → · Palette generator →

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