#4D451F#4D451F

#4D451F is a dark, muted yellow. Relative luminance 0.059; OKLCH L 38.9% C 0.057 H 97.7°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#4D451F
RGBrgb(77, 69, 31)
HSLhsl(50, 43%, 21%)
HSVhsv(50, 60%, 30%)
CMYKcmyk(0%, 10.4%, 59.7%, 69.8%)
CIE-LABlab(29.24, -2.37, 23.91)
CIE-LCHlch(29.24, 24.02, 95.66°)
OKLaboklab(38.92% -0.0076 0.0562)
OKLCHoklch(38.92% 0.057 97.7)
XYZxyz(5.4362, 5.9332, 2.1549)
Luminance0.0593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D451F #1F274D
analogous
#4D2E1F #4D451F #3E4D1F
triadic
#4D451F #1F4D45 #451F4D
tetradic
#4D451F #1F4D2E #1F274D #4D1F3E
square
#4D451F #1F4D2E #1F274D #4D1F3E
split-complementary
#4D451F #1F3E4D #2E1F4D
monochromatic
#161409 #211E0D #4D451F #796C31 #A49342

Accessibility & contrast

On white

9.60
#4D451F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4D451F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D451F
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D451F#FFFFFF#000000##FFFFFF
##4D451F1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d451f;
/* rgb */ color: rgb(77, 69, 31);
/* oklch */ color: oklch(38.9% 0.057 97.7);
Tailwind
colors: {
  custom: {
    50: '#80785c',
    500: '#4d451f',
    950: '#000000',
  },
}
SCSS
$custom: #4d451f;
$custom-light: #80785c;
$custom-dark: #000000;
JSON
{
  "hex": "#4d451f",
  "rgb": {
    "r": 77,
    "g": 69,
    "b": 31
  },
  "hsl": {
    "h": 49.565,
    "s": 42.593,
    "l": 21.176
  },
  "oklch": {
    "l": 0.38923,
    "c": 0.05671,
    "h": 97.7
  },
  "luminance": 0.05933
}

Semantic roles & 50–950 ramp

primary
#4D451F
secondary
#465082
accent
#6BD255
background
#F7F7F5
surface
#EEEDE9
border
#C9C8C5
text
#0A0804
muted
#7C7B79

Preview Lab

Preview with #4D451F

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

Preview Lab → · Contrast checker → · Palette generator →

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