#4C420D#4C420D

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

Color values

HEX#4C420D
RGBrgb(76, 66, 13)
HSLhsl(50, 71%, 17%)
HSVhsv(50, 83%, 30%)
CMYKcmyk(0%, 13.2%, 82.9%, 70.2%)
CIE-LABlab(28.01, -2.34, 31.73)
CIE-LCHlch(28.01, 31.82, 94.22°)
OKLaboklab(37.86% -0.0098 0.0697)
OKLCHoklch(37.86% 0.07 98)
XYZxyz(5.0016, 5.4622, 1.1716)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C420D #0D174C
analogous
#4C220D #4C420D #374C0D
triadic
#4C420D #0D4C42 #420D4C
tetradic
#4C420D #0D4C22 #0D174C #4C0D37
square
#4C420D #0D4C22 #0D174C #4C0D37
split-complementary
#4C420D #0D374C #220D4C
monochromatic
#1A1704 #1A1704 #4C420D #806F16 #B59D1F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C420D#FFFFFF#000000##FFFFFF
##4C420D1.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)
#494004
Deuteranopia (green-blind)
#4C4410
Tritanopia (blue-blind)
#533C38
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4c420d;
/* rgb */ color: rgb(76, 66, 13);
/* oklch */ color: oklch(37.9% 0.070 98.0);
Tailwind
colors: {
  custom: {
    50: '#817650',
    500: '#4c420d',
    950: '#000000',
  },
}
SCSS
$custom: #4c420d;
$custom-light: #817650;
$custom-dark: #000000;
JSON
{
  "hex": "#4c420d",
  "rgb": {
    "r": 76,
    "g": 66,
    "b": 13
  },
  "hsl": {
    "h": 50.476,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37864,
    "c": 0.07039,
    "h": 98
  },
  "luminance": 0.05462
}

Semantic roles & 50–950 ramp

primary
#4C420D
secondary
#2E3C87
accent
#57EE3A
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #4C420D

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

Preview Lab → · Contrast checker → · Palette generator →

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