#4D421C#4D421C

#4D421C is a dark, muted yellow. Relative luminance 0.056; OKLCH L 38.1% C 0.057 H 93.4°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#4D421C
RGBrgb(77, 66, 28)
HSLhsl(47, 47%, 21%)
HSVhsv(47, 64%, 30%)
CMYKcmyk(0%, 14.3%, 63.6%, 69.8%)
CIE-LABlab(28.27, -0.78, 24.48)
CIE-LCHlch(28.27, 24.50, 91.82°)
OKLaboklab(38.14% -0.0034 0.0571)
OKLCHoklch(38.14% 0.057 93.4)
XYZxyz(5.2186, 5.5583, 1.8964)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D421C #1C274D
analogous
#4D291C #4D421C #3F4D1C
triadic
#4D421C #1C4D42 #421C4D
tetradic
#4D421C #1C4D29 #1C274D #4D1C3F
square
#4D421C #1C4D29 #1C274D #4D1C3F
split-complementary
#4D421C #1C3F4D #291C4D
monochromatic
#161308 #201C0C #4D421C #7A682C #A78F3D

Accessibility & contrast

On white

9.95
#4D421C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4D421C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D421C
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D421C#FFFFFF#000000##FFFFFF
##4D421C1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494118
Deuteranopia (green-blind)
#4C441E
Tritanopia (blue-blind)
#533D39
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4d421c;
/* rgb */ color: rgb(77, 66, 28);
/* oklch */ color: oklch(38.1% 0.057 93.4);
Tailwind
colors: {
  custom: {
    50: '#807659',
    500: '#4d421c',
    950: '#000000',
  },
}
SCSS
$custom: #4d421c;
$custom-light: #807659;
$custom-dark: #000000;
JSON
{
  "hex": "#4d421c",
  "rgb": {
    "r": 77,
    "g": 66,
    "b": 28
  },
  "hsl": {
    "h": 46.531,
    "s": 46.667,
    "l": 20.588
  },
  "oklch": {
    "l": 0.3814,
    "c": 0.05717,
    "h": 93.4
  },
  "luminance": 0.05558
}

Semantic roles & 50–950 ramp

primary
#4D421C
secondary
#425183
accent
#6FD651
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0A0803
muted
#7C7B78

Preview Lab

Preview with #4D421C

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

Preview Lab → · Contrast checker → · Palette generator →

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