#4C470F#4C470F

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

Color values

HEX#4C470F
RGBrgb(76, 71, 15)
HSLhsl(55, 67%, 18%)
HSVhsv(55, 80%, 30%)
CMYKcmyk(0%, 6.6%, 80.3%, 70.2%)
CIE-LABlab(29.61, -5.32, 32.40)
CIE-LCHlch(29.61, 32.84, 99.32°)
OKLaboklab(39.14% -0.018 0.0716)
OKLCHoklch(39.14% 0.074 104.1)
XYZxyz(5.3202, 6.0777, 1.3447)
Luminance0.0608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C470F #0F144C
analogous
#4C280F #4C470F #324C0F
triadic
#4C470F #0F4C47 #470F4C
tetradic
#4C470F #0F4C28 #0F144C #4C0F32
square
#4C470F #0F4C28 #0F144C #4C0F32
split-complementary
#4C470F #0F324C #280F4C
monochromatic
#1A1805 #1A1805 #4C470F #7F7719 #B2A623

Accessibility & contrast

On white

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

On black

2.22
#4C470F on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4C470F#FFFFFF#000000##FFFFFF
##4C470F1.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4406
Deuteranopia (green-blind)
#504713
Tritanopia (blue-blind)
#52423C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4c470f;
/* rgb */ color: rgb(76, 71, 15);
/* oklch */ color: oklch(39.1% 0.074 104.1);
Tailwind
colors: {
  custom: {
    50: '#817952',
    500: '#4c470f',
    950: '#000000',
  },
}
SCSS
$custom: #4c470f;
$custom-light: #817952;
$custom-dark: #000000;
JSON
{
  "hex": "#4c470f",
  "rgb": {
    "r": 76,
    "g": 71,
    "b": 15
  },
  "hsl": {
    "h": 55.082,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.39135,
    "c": 0.0738,
    "h": 104.1
  },
  "luminance": 0.06077
}

Semantic roles & 50–950 ramp

primary
#4C470F
secondary
#313886
accent
#4CEA3E
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0A0902
muted
#7C7B78

Preview Lab

Preview with #4C470F

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

Preview Lab → · Contrast checker → · Palette generator →

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