#4C481C#4C481C

#4C481C is a dark, moderate yellow. Relative luminance 0.063; OKLCH L 39.5% C 0.063 H 104.1°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#4C481C
RGBrgb(76, 72, 28)
HSLhsl(55, 46%, 20%)
HSVhsv(55, 63%, 30%)
CMYKcmyk(0%, 5.3%, 63.2%, 70.2%)
CIE-LABlab(30.05, -5.00, 26.49)
CIE-LCHlch(30.05, 26.95, 100.69°)
OKLaboklab(39.52% -0.0154 0.0614)
OKLCHoklch(39.52% 0.063 104.1)
XYZxyz(5.5076, 6.2553, 2.0156)
Luminance0.0625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C481C #1C204C
analogous
#4C301C #4C481C #384C1C
triadic
#4C481C #1C4C48 #481C4C
tetradic
#4C481C #1C4C30 #1C204C #4C1C38
square
#4C481C #1C4C30 #1C204C #4C1C38
split-complementary
#4C481C #1C384C #301C4C
monochromatic
#161508 #1F1E0C #4C481C #79722C #A59D3D

Accessibility & contrast

On white

9.33
#4C481C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#4C481C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C481C
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C481C#FFFFFF#000000##FFFFFF
##4C481C1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4617
Deuteranopia (green-blind)
#50481E
Tritanopia (blue-blind)
#52433E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4c481c;
/* rgb */ color: rgb(76, 72, 28);
/* oklch */ color: oklch(39.5% 0.063 104.1);
Tailwind
colors: {
  custom: {
    50: '#807a5a',
    500: '#4c481c',
    950: '#000000',
  },
}
SCSS
$custom: #4c481c;
$custom-light: #807a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c481c",
  "rgb": {
    "r": 76,
    "g": 72,
    "b": 28
  },
  "hsl": {
    "h": 55,
    "s": 46.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.39524,
    "c": 0.06331,
    "h": 104.1
  },
  "luminance": 0.06255
}

Semantic roles & 50–950 ramp

primary
#4C481C
secondary
#424882
accent
#5DD652
background
#F7F7F5
surface
#EEEDE9
border
#C9C8C5
text
#0A0904
muted
#7C7B79

Preview Lab

Preview with #4C481C

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

Preview Lab → · Contrast checker → · Palette generator →

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