#4C480F#4C480F

#4C480F is a dark, moderate yellow. Relative luminance 0.062; OKLCH L 39.4% C 0.075 H 105.3°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#4C480F
RGBrgb(76, 72, 15)
HSLhsl(56, 67%, 18%)
HSVhsv(56, 80%, 30%)
CMYKcmyk(0%, 5.3%, 80.3%, 70.2%)
CIE-LABlab(29.93, -5.93, 32.71)
CIE-LCHlch(29.93, 33.24, 100.27°)
OKLaboklab(39.39% -0.0197 0.0722)
OKLCHoklch(39.39% 0.075 105.3)
XYZxyz(5.3843, 6.2059, 1.3661)
Luminance0.0621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C480F #0F134C
analogous
#4C2A0F #4C480F #314C0F
triadic
#4C480F #0F4C48 #480F4C
tetradic
#4C480F #0F4C2A #0F134C #4C0F31
square
#4C480F #0F4C2A #0F134C #4C0F31
split-complementary
#4C480F #0F314C #2A0F4C
monochromatic
#1A1805 #1A1805 #4C480F #7F7819 #B2A923

Accessibility & contrast

On white

9.37
#4C480F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#4C480F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C480F
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C480F#FFFFFF#000000##FFFFFF
##4C480F1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4505
Deuteranopia (green-blind)
#504813
Tritanopia (blue-blind)
#52433D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4c480f;
/* rgb */ color: rgb(76, 72, 15);
/* oklch */ color: oklch(39.4% 0.075 105.3);
Tailwind
colors: {
  custom: {
    50: '#807a52',
    500: '#4c480f',
    950: '#000000',
  },
}
SCSS
$custom: #4c480f;
$custom-light: #807a52;
$custom-dark: #000000;
JSON
{
  "hex": "#4c480f",
  "rgb": {
    "r": 76,
    "g": 72,
    "b": 15
  },
  "hsl": {
    "h": 56.066,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.39388,
    "c": 0.07487,
    "h": 105.3
  },
  "luminance": 0.06206
}

Semantic roles & 50–950 ramp

primary
#4C480F
secondary
#313686
accent
#49EA3E
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0A0902
muted
#7C7B78

Preview Lab

Preview with #4C480F

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

Preview Lab → · Contrast checker → · Palette generator →

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