#4C420F#4C420F

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

Color values

HEX#4C420F
RGBrgb(76, 66, 15)
HSLhsl(50, 67%, 18%)
HSVhsv(50, 80%, 30%)
CMYKcmyk(0%, 13.2%, 80.3%, 70.2%)
CIE-LABlab(28.03, -2.24, 30.88)
CIE-LCHlch(28.03, 30.96, 94.15°)
OKLaboklab(37.88% -0.0093 0.0683)
OKLCHoklch(37.88% 0.069 97.7)
XYZxyz(5.0152, 5.4677, 1.2430)
Luminance0.0547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C420F #0F194C
analogous
#4C230F #4C420F #374C0F
triadic
#4C420F #0F4C42 #420F4C
tetradic
#4C420F #0F4C23 #0F194C #4C0F37
square
#4C420F #0F4C23 #0F194C #4C0F37
split-complementary
#4C420F #0F374C #230F4C
monochromatic
#1A1605 #1A1605 #4C420F #7F6E19 #B29B23

Accessibility & contrast

On white

10.03
#4C420F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C420F
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C420F#FFFFFF#000000##FFFFFF
##4C420F1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c420f;
/* rgb */ color: rgb(76, 66, 15);
/* oklch */ color: oklch(37.9% 0.069 97.7);
Tailwind
colors: {
  custom: {
    50: '#817651',
    500: '#4c420f',
    950: '#000000',
  },
}
SCSS
$custom: #4c420f;
$custom-light: #817651;
$custom-dark: #000000;
JSON
{
  "hex": "#4c420f",
  "rgb": {
    "r": 76,
    "g": 66,
    "b": 15
  },
  "hsl": {
    "h": 50.164,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.3788,
    "c": 0.06897,
    "h": 97.7
  },
  "luminance": 0.05467
}

Semantic roles & 50–950 ramp

primary
#4C420F
secondary
#313F86
accent
#5AEA3E
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #4C420F

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

Preview Lab → · Contrast checker → · Palette generator →

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