#4C4C28#4C4C28

#4C4C28 is a dark, muted yellow. Relative luminance 0.069; OKLCH L 40.7% C 0.054 H 108.6°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#4C4C28
RGBrgb(76, 76, 40)
HSLhsl(60, 31%, 23%)
HSVhsv(60, 47%, 30%)
CMYKcmyk(0%, 0%, 47.4%, 70.2%)
CIE-LABlab(31.48, -6.16, 21.34)
CIE-LCHlch(31.48, 22.21, 106.10°)
OKLaboklab(40.72% -0.0173 0.0514)
OKLCHoklch(40.72% 0.054 108.6)
XYZxyz(5.9480, 6.8587, 3.0176)
Luminance0.0686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4C28 #28284C
analogous
#4C3A28 #4C4C28 #3A4C28
triadic
#4C4C28 #284C4C #4C284C
tetradic
#4C4C28 #284C3A #28284C #4C283A
square
#4C4C28 #284C3A #28284C #4C283A
split-complementary
#4C4C28 #283A4C #3A284C
monochromatic
#14140B #242413 #4C4C28 #74743D #9C9C52

Accessibility & contrast

On white

8.85
#4C4C28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4C4C28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4C28
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4C28#FFFFFF#000000##FFFFFF
##4C4C281.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514925
Deuteranopia (green-blind)
#524B2A
Tritanopia (blue-blind)
#514843
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4c4c28;
/* rgb */ color: rgb(76, 76, 40);
/* oklch */ color: oklch(40.7% 0.054 108.6);
Tailwind
colors: {
  custom: {
    50: '#7f7d62',
    500: '#4c4c28',
    950: '#000000',
  },
}
SCSS
$custom: #4c4c28;
$custom-light: #7f7d62;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4c28",
  "rgb": {
    "r": 76,
    "g": 76,
    "b": 40
  },
  "hsl": {
    "h": 60,
    "s": 31.034,
    "l": 22.745
  },
  "oklch": {
    "l": 0.40719,
    "c": 0.05426,
    "h": 108.6
  },
  "luminance": 0.06859
}

Semantic roles & 50–950 ramp

primary
#4C4C28
secondary
#51517E
accent
#61C761
background
#F7F7F5
surface
#EEEEEA
border
#C9C9C6
text
#0A0905
muted
#7C7B79

Preview Lab

Preview with #4C4C28

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

Preview Lab → · Contrast checker → · Palette generator →

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