#4C4712#4C4712

#4C4712 is a dark, moderate yellow. Relative luminance 0.061; OKLCH L 39.2% C 0.072 H 103.9°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#4C4712
RGBrgb(76, 71, 18)
HSLhsl(55, 62%, 18%)
HSVhsv(55, 76%, 30%)
CMYKcmyk(0%, 6.6%, 76.3%, 70.2%)
CIE-LABlab(29.63, -5.15, 31.10)
CIE-LCHlch(29.63, 31.52, 99.40°)
OKLaboklab(39.16% -0.0172 0.0694)
OKLCHoklch(39.16% 0.072 103.9)
XYZxyz(5.3431, 6.0869, 1.4656)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4712 #12174C
analogous
#4C2A12 #4C4712 #344C12
triadic
#4C4712 #124C47 #47124C
tetradic
#4C4712 #124C2A #12174C #4C1234
square
#4C4712 #124C2A #12174C #4C1234
split-complementary
#4C4712 #12344C #2A124C
monochromatic
#191706 #1B1906 #4C4712 #7D751E #AFA329

Accessibility & contrast

On white

9.47
#4C4712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C4712
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4712#FFFFFF#000000##FFFFFF
##4C47121.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c4712;
/* rgb */ color: rgb(76, 71, 18);
/* oklch */ color: oklch(39.2% 0.072 103.9);
Tailwind
colors: {
  custom: {
    50: '#807a54',
    500: '#4c4712',
    950: '#000000',
  },
}
SCSS
$custom: #4c4712;
$custom-light: #807a54;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4712",
  "rgb": {
    "r": 76,
    "g": 71,
    "b": 18
  },
  "hsl": {
    "h": 54.828,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.3916,
    "c": 0.07153,
    "h": 103.9
  },
  "luminance": 0.06087
}

Semantic roles & 50–950 ramp

primary
#4C4712
secondary
#353C85
accent
#51E543
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0A0903
muted
#7C7B78

Preview Lab

Preview with #4C4712

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

Preview Lab → · Contrast checker → · Palette generator →

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