#4C470B#4C470B

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

Color values

HEX#4C470B
RGBrgb(76, 71, 11)
HSLhsl(55, 75%, 17%)
HSVhsv(55, 86%, 30%)
CMYKcmyk(0%, 6.6%, 85.5%, 70.2%)
CIE-LABlab(29.58, -5.52, 33.97)
CIE-LCHlch(29.58, 34.42, 99.23°)
OKLaboklab(39.11% -0.019 0.074)
OKLCHoklch(39.11% 0.076 104.4)
XYZxyz(5.2944, 6.0674, 1.2088)
Luminance0.0607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C470B #0B104C
analogous
#4C270B #4C470B #314C0B
triadic
#4C470B #0B4C47 #470B4C
tetradic
#4C470B #0B4C27 #0B104C #4C0B31
square
#4C470B #0B4C27 #0B104C #4C0B31
split-complementary
#4C470B #0B314C #270B4C
monochromatic
#1B1904 #1B1904 #4C470B #817913 #B7AB1A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C470B#FFFFFF#000000##FFFFFF
##4C470B1.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)
#4E4401
Deuteranopia (green-blind)
#504710
Tritanopia (blue-blind)
#52413C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4c470b;
/* rgb */ color: rgb(76, 71, 11);
/* oklch */ color: oklch(39.1% 0.076 104.4);
Tailwind
colors: {
  custom: {
    50: '#817950',
    500: '#4c470b',
    950: '#000000',
  },
}
SCSS
$custom: #4c470b;
$custom-light: #817950;
$custom-dark: #000000;
JSON
{
  "hex": "#4c470b",
  "rgb": {
    "r": 76,
    "g": 71,
    "b": 11
  },
  "hsl": {
    "h": 55.385,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.39106,
    "c": 0.07642,
    "h": 104.4
  },
  "luminance": 0.06067
}

Semantic roles & 50–950 ramp

primary
#4C470B
secondary
#2B3288
accent
#45F136
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4C470B

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

Preview Lab → · Contrast checker → · Palette generator →

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