#4C470D#4C470D

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

Color values

HEX#4C470D
RGBrgb(76, 71, 13)
HSLhsl(55, 71%, 17%)
HSVhsv(55, 83%, 30%)
CMYKcmyk(0%, 6.6%, 82.9%, 70.2%)
CIE-LABlab(29.59, -5.43, 33.22)
CIE-LCHlch(29.59, 33.66, 99.28°)
OKLaboklab(39.12% -0.0185 0.0729)
OKLCHoklch(39.12% 0.075 104.3)
XYZxyz(5.3066, 6.0723, 1.2732)
Luminance0.0607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C470D #0D124C
analogous
#4C270D #4C470D #324C0D
triadic
#4C470D #0D4C47 #470D4C
tetradic
#4C470D #0D4C27 #0D124C #4C0D32
square
#4C470D #0D4C27 #0D124C #4C0D32
split-complementary
#4C470D #0D324C #270D4C
monochromatic
#1A1804 #1A1804 #4C470D #807816 #B5A91F

Accessibility & contrast

On white

9.48
#4C470D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C470D
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C470D#FFFFFF#000000##FFFFFF
##4C470D1.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4403
Deuteranopia (green-blind)
#504711
Tritanopia (blue-blind)
#52413C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4c470d;
/* rgb */ color: rgb(76, 71, 13);
/* oklch */ color: oklch(39.1% 0.075 104.3);
Tailwind
colors: {
  custom: {
    50: '#817951',
    500: '#4c470d',
    950: '#000000',
  },
}
SCSS
$custom: #4c470d;
$custom-light: #817951;
$custom-dark: #000000;
JSON
{
  "hex": "#4c470d",
  "rgb": {
    "r": 76,
    "g": 71,
    "b": 13
  },
  "hsl": {
    "h": 55.238,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.3912,
    "c": 0.07517,
    "h": 104.3
  },
  "luminance": 0.06072
}

Semantic roles & 50–950 ramp

primary
#4C470D
secondary
#2E3587
accent
#48EE3A
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4C470D

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

Preview Lab → · Contrast checker → · Palette generator →

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