#4C421F#4C421F

#4C421F is a dark, muted yellow. Relative luminance 0.055; OKLCH L 38.1% C 0.054 H 93.8°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#4C421F
RGBrgb(76, 66, 31)
HSLhsl(47, 42%, 21%)
HSVhsv(47, 59%, 30%)
CMYKcmyk(0%, 13.2%, 59.2%, 70.2%)
CIE-LABlab(28.20, -0.99, 22.65)
CIE-LCHlch(28.20, 22.67, 92.51°)
OKLaboklab(38.07% -0.0035 0.0535)
OKLCHoklch(38.07% 0.054 93.8)
XYZxyz(5.1762, 5.5321, 2.0912)
Luminance0.0553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C421F #1F294C
analogous
#4C2B1F #4C421F #3F4C1F
triadic
#4C421F #1F4C42 #421F4C
tetradic
#4C421F #1F4C2B #1F294C #4C1F3F
square
#4C421F #1F4C2B #1F294C #4C1F3F
split-complementary
#4C421F #1F3F4C #2B1F4C
monochromatic
#161309 #211C0D #4C421F #776831 #A38D42

Accessibility & contrast

On white

9.97
#4C421F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4C421F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C421F
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C421F#FFFFFF#000000##FFFFFF
##4C421F1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48411C
Deuteranopia (green-blind)
#4B4420
Tritanopia (blue-blind)
#523D3A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4c421f;
/* rgb */ color: rgb(76, 66, 31);
/* oklch */ color: oklch(38.1% 0.054 93.8);
Tailwind
colors: {
  custom: {
    50: '#7f765b',
    500: '#4c421f',
    950: '#000000',
  },
}
SCSS
$custom: #4c421f;
$custom-light: #7f765b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c421f",
  "rgb": {
    "r": 76,
    "g": 66,
    "b": 31
  },
  "hsl": {
    "h": 46.667,
    "s": 42.056,
    "l": 20.98
  },
  "oklch": {
    "l": 0.38072,
    "c": 0.0536,
    "h": 93.8
  },
  "luminance": 0.05532
}

Semantic roles & 50–950 ramp

primary
#4C421F
secondary
#465381
accent
#71D256
background
#F7F7F5
surface
#EEEDE9
border
#C9C8C5
text
#0A0804
muted
#7C7B79

Preview Lab

Preview with #4C421F

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

Preview Lab → · Contrast checker → · Palette generator →

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