#4C4628#4C4628

#4C4628 is a dark, muted yellow. Relative luminance 0.061; OKLCH L 39.2% C 0.047 H 98.3°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#4C4628
RGBrgb(76, 70, 40)
HSLhsl(50, 31%, 23%)
HSVhsv(50, 47%, 30%)
CMYKcmyk(0%, 7.9%, 47.4%, 70.2%)
CIE-LABlab(29.59, -2.48, 18.97)
CIE-LCHlch(29.59, 19.13, 97.45°)
OKLaboklab(39.22% -0.0067 0.0461)
OKLCHoklch(39.22% 0.047 98.3)
XYZxyz(5.5538, 6.0702, 2.8862)
Luminance0.0607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4628 #282E4C
analogous
#4C3428 #4C4628 #404C28
triadic
#4C4628 #284C46 #46284C
tetradic
#4C4628 #284C34 #282E4C #4C2840
square
#4C4628 #284C34 #282E4C #4C2840
split-complementary
#4C4628 #28404C #34284C
monochromatic
#14120B #242113 #4C4628 #746B3D #9C9052

Accessibility & contrast

On white

9.49
#4C4628 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4C4628 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4628
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4628#FFFFFF#000000##FFFFFF
##4C46281.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4426
Deuteranopia (green-blind)
#4D4729
Tritanopia (blue-blind)
#51423F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4c4628;
/* rgb */ color: rgb(76, 70, 40);
/* oklch */ color: oklch(39.2% 0.047 98.3);
Tailwind
colors: {
  custom: {
    50: '#7f7962',
    500: '#4c4628',
    950: '#000000',
  },
}
SCSS
$custom: #4c4628;
$custom-light: #7f7962;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4628",
  "rgb": {
    "r": 76,
    "g": 70,
    "b": 40
  },
  "hsl": {
    "h": 50,
    "s": 31.034,
    "l": 22.745
  },
  "oklch": {
    "l": 0.39216,
    "c": 0.04658,
    "h": 98.3
  },
  "luminance": 0.0607
}

Semantic roles & 50–950 ramp

primary
#4C4628
secondary
#51597E
accent
#72C761
background
#F7F7F5
surface
#EEEDEA
border
#C9C8C6
text
#0A0905
muted
#7C7B79

Preview Lab

Preview with #4C4628

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

Preview Lab → · Contrast checker → · Palette generator →

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