#4C470A#4C470A

#4C470A is a dark, moderate yellow. Relative luminance 0.061; OKLCH L 39.1% C 0.077 H 104.5°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#4C470A
RGBrgb(76, 71, 10)
HSLhsl(55, 77%, 17%)
HSVhsv(55, 87%, 30%)
CMYKcmyk(0%, 6.6%, 86.8%, 70.2%)
CIE-LABlab(29.58, -5.56, 34.33)
CIE-LCHlch(29.58, 34.78, 99.20°)
OKLaboklab(39.1% -0.0192 0.0746)
OKLCHoklch(39.1% 0.077 104.5)
XYZxyz(5.2888, 6.0651, 1.1792)
Luminance0.0607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C470A #0A0F4C
analogous
#4C260A #4C470A #304C0A
triadic
#4C470A #0A4C47 #470A4C
tetradic
#4C470A #0A4C26 #0A0F4C #4C0A30
square
#4C470A #0A4C26 #0A0F4C #4C0A30
split-complementary
#4C470A #0A304C #260A4C
monochromatic
#1B1904 #1B1904 #4C470A #827A11 #B8AC18

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C470A#FFFFFF#000000##FFFFFF
##4C470A1.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)
#4E4400
Deuteranopia (green-blind)
#50470F
Tritanopia (blue-blind)
#52413C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4c470a;
/* rgb */ color: rgb(76, 71, 10);
/* oklch */ color: oklch(39.1% 0.077 104.5);
Tailwind
colors: {
  custom: {
    50: '#817950',
    500: '#4c470a',
    950: '#000000',
  },
}
SCSS
$custom: #4c470a;
$custom-light: #817950;
$custom-dark: #000000;
JSON
{
  "hex": "#4c470a",
  "rgb": {
    "r": 76,
    "g": 71,
    "b": 10
  },
  "hsl": {
    "h": 55.455,
    "s": 76.744,
    "l": 16.863
  },
  "oklch": {
    "l": 0.391,
    "c": 0.077,
    "h": 104.5
  },
  "luminance": 0.06065
}

Semantic roles & 50–950 ramp

primary
#4C470A
secondary
#293089
accent
#43F335
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4C470A

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

Preview Lab → · Contrast checker → · Palette generator →

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