#4D481C#4D481C

#4D481C is a dark, moderate yellow. Relative luminance 0.063; OKLCH L 39.6% C 0.063 H 102.9°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#4D481C
RGBrgb(77, 72, 28)
HSLhsl(54, 47%, 21%)
HSVhsv(54, 64%, 30%)
CMYKcmyk(0%, 6.5%, 63.6%, 69.8%)
CIE-LABlab(30.15, -4.50, 26.63)
CIE-LCHlch(30.15, 27.00, 99.59°)
OKLaboklab(39.63% -0.0141 0.0617)
OKLCHoklch(39.63% 0.063 102.9)
XYZxyz(5.5877, 6.2966, 2.0194)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D481C #1C214D
analogous
#4D2F1C #4D481C #394D1C
triadic
#4D481C #1C4D48 #481C4D
tetradic
#4D481C #1C4D2F #1C214D #4D1C39
square
#4D481C #1C4D2F #1C214D #4D1C39
split-complementary
#4D481C #1C394D #2F1C4D
monochromatic
#161508 #201E0C #4D481C #7A722C #A79C3D

Accessibility & contrast

On white

9.30
#4D481C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#4D481C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D481C
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D481C#FFFFFF#000000##FFFFFF
##4D481C1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4617
Deuteranopia (green-blind)
#50481E
Tritanopia (blue-blind)
#53433E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4d481c;
/* rgb */ color: rgb(77, 72, 28);
/* oklch */ color: oklch(39.6% 0.063 102.9);
Tailwind
colors: {
  custom: {
    50: '#807a5a',
    500: '#4d481c',
    950: '#000000',
  },
}
SCSS
$custom: #4d481c;
$custom-light: #807a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d481c",
  "rgb": {
    "r": 77,
    "g": 72,
    "b": 28
  },
  "hsl": {
    "h": 53.878,
    "s": 46.667,
    "l": 20.588
  },
  "oklch": {
    "l": 0.39628,
    "c": 0.06326,
    "h": 102.9
  },
  "luminance": 0.06296
}

Semantic roles & 50–950 ramp

primary
#4D481C
secondary
#424983
accent
#5FD651
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0A0904
muted
#7C7B79

Preview Lab

Preview with #4D481C

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

Preview Lab → · Contrast checker → · Palette generator →

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