#4C4512#4C4512

#4C4512 is a dark, moderate yellow. Relative luminance 0.058; OKLCH L 38.7% C 0.069 H 101.4°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#4C4512
RGBrgb(76, 69, 18)
HSLhsl(53, 62%, 18%)
HSVhsv(53, 76%, 30%)
CMYKcmyk(0%, 9.2%, 76.3%, 70.2%)
CIE-LABlab(29.00, -3.92, 30.46)
CIE-LCHlch(29.00, 30.71, 97.33°)
OKLaboklab(38.66% -0.0137 0.0681)
OKLCHoklch(38.66% 0.069 101.4)
XYZxyz(5.2180, 5.8366, 1.4239)
Luminance0.0584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4512 #12194C
analogous
#4C2812 #4C4512 #364C12
triadic
#4C4512 #124C45 #45124C
tetradic
#4C4512 #124C28 #12194C #4C1236
square
#4C4512 #124C28 #12194C #4C1236
split-complementary
#4C4512 #12364C #28124C
monochromatic
#191606 #1B1806 #4C4512 #7D721E #AF9F29

Accessibility & contrast

On white

9.69
#4C4512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4C4512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4512
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4512#FFFFFF#000000##FFFFFF
##4C45121.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C430B
Deuteranopia (green-blind)
#4E4615
Tritanopia (blue-blind)
#52403B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4c4512;
/* rgb */ color: rgb(76, 69, 18);
/* oklch */ color: oklch(38.7% 0.069 101.4);
Tailwind
colors: {
  custom: {
    50: '#807853',
    500: '#4c4512',
    950: '#000000',
  },
}
SCSS
$custom: #4c4512;
$custom-light: #807853;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4512",
  "rgb": {
    "r": 76,
    "g": 69,
    "b": 18
  },
  "hsl": {
    "h": 52.759,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.38656,
    "c": 0.06946,
    "h": 101.4
  },
  "luminance": 0.05836
}

Semantic roles & 50–950 ramp

primary
#4C4512
secondary
#353E85
accent
#57E543
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0A0803
muted
#7C7B78

Preview Lab

Preview with #4C4512

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

Preview Lab → · Contrast checker → · Palette generator →

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