#4C421B#4C421B

#4C421B is a dark, muted yellow. Relative luminance 0.055; OKLCH L 38.0% C 0.058 H 95.1°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#4C421B
RGBrgb(76, 66, 27)
HSLhsl(48, 48%, 20%)
HSVhsv(48, 64%, 30%)
CMYKcmyk(0%, 13.2%, 64.5%, 70.2%)
CIE-LABlab(28.15, -1.37, 24.88)
CIE-LCHlch(28.15, 24.92, 93.16°)
OKLaboklab(38.01% -0.0052 0.0578)
OKLCHoklch(38.01% 0.058 95.1)
XYZxyz(5.1267, 5.5123, 1.8306)
Luminance0.0551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C421B #1B254C
analogous
#4C291B #4C421B #3D4C1B
triadic
#4C421B #1B4C42 #421B4C
tetradic
#4C421B #1B4C29 #1B254C #4C1B3D
square
#4C421B #1B4C29 #1B254C #4C1B3D
split-complementary
#4C421B #1B3D4C #291B4C
monochromatic
#171408 #1F1B0B #4C421B #79692B #A6903B

Accessibility & contrast

On white

9.99
#4C421B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4C421B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C421B
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C421B#FFFFFF#000000##FFFFFF
##4C421B1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494117
Deuteranopia (green-blind)
#4B441D
Tritanopia (blue-blind)
#523D39
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4c421b;
/* rgb */ color: rgb(76, 66, 27);
/* oklch */ color: oklch(38.0% 0.058 95.1);
Tailwind
colors: {
  custom: {
    50: '#807659',
    500: '#4c421b',
    950: '#000000',
  },
}
SCSS
$custom: #4c421b;
$custom-light: #807659;
$custom-dark: #000000;
JSON
{
  "hex": "#4c421b",
  "rgb": {
    "r": 76,
    "g": 66,
    "b": 27
  },
  "hsl": {
    "h": 47.755,
    "s": 47.573,
    "l": 20.196
  },
  "oklch": {
    "l": 0.38013,
    "c": 0.05804,
    "h": 95.1
  },
  "luminance": 0.05512
}

Semantic roles & 50–950 ramp

primary
#4C421B
secondary
#414E82
accent
#6CD751
background
#F7F7F5
surface
#EEEDE9
border
#C9C8C5
text
#0A0803
muted
#7C7B78

Preview Lab

Preview with #4C421B

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

Preview Lab → · Contrast checker → · Palette generator →

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