#4C470E#4C470E

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

Color values

HEX#4C470E
RGBrgb(76, 71, 14)
HSLhsl(55, 69%, 18%)
HSVhsv(55, 82%, 30%)
CMYKcmyk(0%, 6.6%, 81.6%, 70.2%)
CIE-LABlab(29.60, -5.37, 32.82)
CIE-LCHlch(29.60, 33.25, 99.30°)
OKLaboklab(39.13% -0.0183 0.0722)
OKLCHoklch(39.13% 0.075 104.2)
XYZxyz(5.3132, 6.0749, 1.3081)
Luminance0.0607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C470E #0E134C
analogous
#4C280E #4C470E #324C0E
triadic
#4C470E #0E4C47 #470E4C
tetradic
#4C470E #0E4C28 #0E134C #4C0E32
square
#4C470E #0E4C28 #0E134C #4C0E32
split-complementary
#4C470E #0E324C #280E4C
monochromatic
#1A1805 #1A1805 #4C470E #807718 #B3A821

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C470E#FFFFFF#000000##FFFFFF
##4C470E1.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)
#4E4404
Deuteranopia (green-blind)
#504712
Tritanopia (blue-blind)
#52413C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4c470e;
/* rgb */ color: rgb(76, 71, 14);
/* oklch */ color: oklch(39.1% 0.075 104.2);
Tailwind
colors: {
  custom: {
    50: '#817951',
    500: '#4c470e',
    950: '#000000',
  },
}
SCSS
$custom: #4c470e;
$custom-light: #817951;
$custom-dark: #000000;
JSON
{
  "hex": "#4c470e",
  "rgb": {
    "r": 76,
    "g": 71,
    "b": 14
  },
  "hsl": {
    "h": 55.161,
    "s": 68.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.39127,
    "c": 0.07451,
    "h": 104.2
  },
  "luminance": 0.06075
}

Semantic roles & 50–950 ramp

primary
#4C470E
secondary
#2F3687
accent
#4AEC3C
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4C470E

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

Preview Lab → · Contrast checker → · Palette generator →

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