#4C471C#4C471C

#4C471C is a dark, moderate yellow. Relative luminance 0.061; OKLCH L 39.3% C 0.062 H 102.7°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#4C471C
RGBrgb(76, 71, 28)
HSLhsl(54, 46%, 20%)
HSVhsv(54, 63%, 30%)
CMYKcmyk(0%, 6.6%, 63.2%, 70.2%)
CIE-LABlab(29.73, -4.38, 26.13)
CIE-LCHlch(29.73, 26.49, 99.53°)
OKLaboklab(39.27% -0.0137 0.0606)
OKLCHoklch(39.27% 0.062 102.7)
XYZxyz(5.4435, 6.1270, 1.9943)
Luminance0.0613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C471C #1C214C
analogous
#4C2F1C #4C471C #394C1C
triadic
#4C471C #1C4C47 #471C4C
tetradic
#4C471C #1C4C2F #1C214C #4C1C39
square
#4C471C #1C4C2F #1C214C #4C1C39
split-complementary
#4C471C #1C394C #2F1C4C
monochromatic
#161508 #1F1D0C #4C471C #79712C #A59B3D

Accessibility & contrast

On white

9.44
#4C471C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#4C471C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C471C
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C471C#FFFFFF#000000##FFFFFF
##4C471C1.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4518
Deuteranopia (green-blind)
#4F471E
Tritanopia (blue-blind)
#52423E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4c471c;
/* rgb */ color: rgb(76, 71, 28);
/* oklch */ color: oklch(39.3% 0.062 102.7);
Tailwind
colors: {
  custom: {
    50: '#807a5a',
    500: '#4c471c',
    950: '#000000',
  },
}
SCSS
$custom: #4c471c;
$custom-light: #807a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c471c",
  "rgb": {
    "r": 76,
    "g": 71,
    "b": 28
  },
  "hsl": {
    "h": 53.75,
    "s": 46.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.39272,
    "c": 0.06215,
    "h": 102.7
  },
  "luminance": 0.06127
}

Semantic roles & 50–950 ramp

primary
#4C471C
secondary
#424982
accent
#60D652
background
#F7F7F5
surface
#EEEDE9
border
#C9C8C5
text
#0A0904
muted
#7C7B79

Preview Lab

Preview with #4C471C

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

Preview Lab → · Contrast checker → · Palette generator →

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