#4D451A#4D451A

#4D451A is a dark, moderate yellow. Relative luminance 0.059; OKLCH L 38.9% C 0.062 H 98.9°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#4D451A
RGBrgb(77, 69, 26)
HSLhsl(51, 50%, 20%)
HSVhsv(51, 66%, 30%)
CMYKcmyk(0%, 10.4%, 66.2%, 69.8%)
CIE-LABlab(29.18, -2.82, 26.63)
CIE-LCHlch(29.18, 26.78, 96.05°)
OKLaboklab(38.85% -0.0096 0.0614)
OKLCHoklch(38.85% 0.062 98.9)
XYZxyz(5.3754, 5.9088, 1.8345)
Luminance0.0591 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D451A #1A224D
analogous
#4D2B1A #4D451A #3C4D1A
triadic
#4D451A #1A4D45 #451A4D
tetradic
#4D451A #1A4D2B #1A224D #4D1A3C
square
#4D451A #1A4D2B #1A224D #4D1A3C
split-complementary
#4D451A #1A3C4D #2B1A4D
monochromatic
#171408 #1F1C0B #4D451A #7B6E29 #A99739

Accessibility & contrast

On white

9.63
#4D451A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4D451A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D451A
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D451A#FFFFFF#000000##FFFFFF
##4D451A1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4315
Deuteranopia (green-blind)
#4E461C
Tritanopia (blue-blind)
#53403C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4d451a;
/* rgb */ color: rgb(77, 69, 26);
/* oklch */ color: oklch(38.9% 0.062 98.9);
Tailwind
colors: {
  custom: {
    50: '#817858',
    500: '#4d451a',
    950: '#000000',
  },
}
SCSS
$custom: #4d451a;
$custom-light: #817858;
$custom-dark: #000000;
JSON
{
  "hex": "#4d451a",
  "rgb": {
    "r": 77,
    "g": 69,
    "b": 26
  },
  "hsl": {
    "h": 50.588,
    "s": 49.515,
    "l": 20.196
  },
  "oklch": {
    "l": 0.38854,
    "c": 0.06212,
    "h": 98.9
  },
  "luminance": 0.05909
}

Semantic roles & 50–950 ramp

primary
#4D451A
secondary
#404A83
accent
#64D94F
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0A0803
muted
#7C7B78

Preview Lab

Preview with #4D451A

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

Preview Lab → · Contrast checker → · Palette generator →

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