#4D471D#4D471D

#4D471D is a dark, moderate yellow. Relative luminance 0.062; OKLCH L 39.4% C 0.061 H 101.3°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#4D471D
RGBrgb(77, 71, 29)
HSLhsl(53, 45%, 21%)
HSVhsv(53, 62%, 30%)
CMYKcmyk(0%, 7.8%, 62.3%, 69.8%)
CIE-LABlab(29.85, -3.80, 25.73)
CIE-LCHlch(29.85, 26.01, 98.39°)
OKLaboklab(39.39% -0.0119 0.0599)
OKLCHoklch(39.39% 0.061 101.3)
XYZxyz(5.5358, 6.1732, 2.0621)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D471D #1D234D
analogous
#4D2F1D #4D471D #3B4D1D
triadic
#4D471D #1D4D47 #471D4D
tetradic
#4D471D #1D4D2F #1D234D #4D1D3B
square
#4D471D #1D4D2F #1D234D #4D1D3B
split-complementary
#4D471D #1D3B4D #2F1D4D
monochromatic
#161408 #211E0C #4D471D #79702E #A6993E

Accessibility & contrast

On white

9.40
#4D471D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#4D471D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D471D
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D471D#FFFFFF#000000##FFFFFF
##4D471D1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4519
Deuteranopia (green-blind)
#4F471F
Tritanopia (blue-blind)
#53423E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4d471d;
/* rgb */ color: rgb(77, 71, 29);
/* oklch */ color: oklch(39.4% 0.061 101.3);
Tailwind
colors: {
  custom: {
    50: '#807a5a',
    500: '#4d471d',
    950: '#000000',
  },
}
SCSS
$custom: #4d471d;
$custom-light: #807a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d471d",
  "rgb": {
    "r": 77,
    "g": 71,
    "b": 29
  },
  "hsl": {
    "h": 52.5,
    "s": 45.283,
    "l": 20.784
  },
  "oklch": {
    "l": 0.39391,
    "c": 0.06108,
    "h": 101.3
  },
  "luminance": 0.06173
}

Semantic roles & 50–950 ramp

primary
#4D471D
secondary
#444B82
accent
#63D553
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0A0904
muted
#7C7B79

Preview Lab

Preview with #4D471D

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

Preview Lab → · Contrast checker → · Palette generator →

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