#4D431F#4D431F

#4D431F is a dark, muted yellow. Relative luminance 0.057; OKLCH L 38.4% C 0.055 H 94.1°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#4D431F
RGBrgb(77, 67, 31)
HSLhsl(47, 43%, 21%)
HSVhsv(47, 60%, 30%)
CMYKcmyk(0%, 13%, 59.7%, 69.8%)
CIE-LABlab(28.62, -1.12, 23.17)
CIE-LCHlch(28.62, 23.20, 92.77°)
OKLaboklab(38.43% -0.004 0.0546)
OKLCHoklch(38.43% 0.055 94.1)
XYZxyz(5.3152, 5.6913, 2.1146)
Luminance0.0569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D431F #1F294D
analogous
#4D2C1F #4D431F #404D1F
triadic
#4D431F #1F4D43 #431F4D
tetradic
#4D431F #1F4D2C #1F294D #4D1F40
square
#4D431F #1F4D2C #1F294D #4D1F40
split-complementary
#4D431F #1F404D #2C1F4D
monochromatic
#161309 #211D0D #4D431F #796931 #A48F42

Accessibility & contrast

On white

9.82
#4D431F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4D431F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D431F
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D431F#FFFFFF#000000##FFFFFF
##4D431F1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A421C
Deuteranopia (green-blind)
#4C4520
Tritanopia (blue-blind)
#533E3B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4d431f;
/* rgb */ color: rgb(77, 67, 31);
/* oklch */ color: oklch(38.4% 0.055 94.1);
Tailwind
colors: {
  custom: {
    50: '#80765c',
    500: '#4d431f',
    950: '#000000',
  },
}
SCSS
$custom: #4d431f;
$custom-light: #80765c;
$custom-dark: #000000;
JSON
{
  "hex": "#4d431f",
  "rgb": {
    "r": 77,
    "g": 67,
    "b": 31
  },
  "hsl": {
    "h": 46.957,
    "s": 42.593,
    "l": 21.176
  },
  "oklch": {
    "l": 0.38429,
    "c": 0.05474,
    "h": 94.1
  },
  "luminance": 0.05691
}

Semantic roles & 50–950 ramp

primary
#4D431F
secondary
#465382
accent
#71D255
background
#F7F7F5
surface
#EEEDE9
border
#C9C8C5
text
#0A0804
muted
#7C7B79

Preview Lab

Preview with #4D431F

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

Preview Lab → · Contrast checker → · Palette generator →

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