#4D421F#4D421F

#4D421F is a dark, muted yellow. Relative luminance 0.056; OKLCH L 38.2% C 0.054 H 92.3°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#4D421F
RGBrgb(77, 66, 31)
HSLhsl(46, 43%, 21%)
HSVhsv(46, 60%, 30%)
CMYKcmyk(0%, 14.3%, 59.7%, 69.8%)
CIE-LABlab(28.31, -0.49, 22.80)
CIE-LCHlch(28.31, 22.81, 91.24°)
OKLaboklab(38.18% -0.0021 0.0538)
OKLCHoklch(38.18% 0.054 92.3)
XYZxyz(5.2563, 5.5734, 2.0950)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D421F #1F2A4D
analogous
#4D2B1F #4D421F #414D1F
triadic
#4D421F #1F4D42 #421F4D
tetradic
#4D421F #1F4D2B #1F2A4D #4D1F41
square
#4D421F #1F4D2B #1F2A4D #4D1F41
split-complementary
#4D421F #1F414D #2B1F4D
monochromatic
#161309 #211D0D #4D421F #796731 #A48D42

Accessibility & contrast

On white

9.93
#4D421F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D421F
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D421F#FFFFFF#000000##FFFFFF
##4D421F1.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49411C
Deuteranopia (green-blind)
#4B4420
Tritanopia (blue-blind)
#533D3A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4d421f;
/* rgb */ color: rgb(77, 66, 31);
/* oklch */ color: oklch(38.2% 0.054 92.3);
Tailwind
colors: {
  custom: {
    50: '#80765b',
    500: '#4d421f',
    950: '#000000',
  },
}
SCSS
$custom: #4d421f;
$custom-light: #80765b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d421f",
  "rgb": {
    "r": 77,
    "g": 66,
    "b": 31
  },
  "hsl": {
    "h": 45.652,
    "s": 42.593,
    "l": 21.176
  },
  "oklch": {
    "l": 0.38184,
    "c": 0.05384,
    "h": 92.3
  },
  "luminance": 0.05573
}

Semantic roles & 50–950 ramp

primary
#4D421F
secondary
#465482
accent
#73D255
background
#F7F7F5
surface
#EEEDE9
border
#C9C8C5
text
#0A0804
muted
#7C7B79

Preview Lab

Preview with #4D421F

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

Preview Lab → · Contrast checker → · Palette generator →

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