#4C420C#4C420C

#4C420C is a dark, moderate yellow. Relative luminance 0.055; OKLCH L 37.9% C 0.071 H 98.2°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#4C420C
RGBrgb(76, 66, 12)
HSLhsl(51, 73%, 17%)
HSVhsv(51, 84%, 30%)
CMYKcmyk(0%, 13.2%, 84.2%, 70.2%)
CIE-LABlab(28.01, -2.39, 32.14)
CIE-LCHlch(28.01, 32.23, 94.26°)
OKLaboklab(37.86% -0.0101 0.0703)
OKLCHoklch(37.86% 0.071 98.2)
XYZxyz(4.9953, 5.4597, 1.1385)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C420C #0C164C
analogous
#4C220C #4C420C #364C0C
triadic
#4C420C #0C4C42 #420C4C
tetradic
#4C420C #0C4C22 #0C164C #4C0C36
square
#4C420C #0C4C22 #0C164C #4C0C36
split-complementary
#4C420C #0C364C #220C4C
monochromatic
#1A1704 #1A1704 #4C420C #817014 #B69E1D

Accessibility & contrast

On white

10.04
#4C420C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4C420C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C420C
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C420C#FFFFFF#000000##FFFFFF
##4C420C1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4003
Deuteranopia (green-blind)
#4C4410
Tritanopia (blue-blind)
#533C38
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4c420c;
/* rgb */ color: rgb(76, 66, 12);
/* oklch */ color: oklch(37.9% 0.071 98.2);
Tailwind
colors: {
  custom: {
    50: '#817650',
    500: '#4c420c',
    950: '#000000',
  },
}
SCSS
$custom: #4c420c;
$custom-light: #817650;
$custom-dark: #000000;
JSON
{
  "hex": "#4c420c",
  "rgb": {
    "r": 76,
    "g": 66,
    "b": 12
  },
  "hsl": {
    "h": 50.625,
    "s": 72.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.37857,
    "c": 0.07105,
    "h": 98.2
  },
  "luminance": 0.05459
}

Semantic roles & 50–950 ramp

primary
#4C420C
secondary
#2C3A88
accent
#55EF38
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #4C420C

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

Preview Lab → · Contrast checker → · Palette generator →

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