#4E471F#4E471F

#4E471F is a dark, muted yellow. Relative luminance 0.062; OKLCH L 39.5% C 0.059 H 99.5°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#4E471F
RGBrgb(78, 71, 31)
HSLhsl(51, 43%, 21%)
HSVhsv(51, 60%, 31%)
CMYKcmyk(0%, 9%, 60.3%, 69.4%)
CIE-LABlab(29.97, -3.11, 24.79)
CIE-LCHlch(29.97, 24.98, 97.15°)
OKLaboklab(39.53% -0.0098 0.0581)
OKLCHoklch(39.53% 0.059 99.5)
XYZxyz(5.6426, 6.2253, 2.2004)
Luminance0.0622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E471F #1F264E
analogous
#4E301F #4E471F #3E4E1F
triadic
#4E471F #1F4E47 #471F4E
tetradic
#4E471F #1F4E30 #1F264E #4E1F3E
square
#4E471F #1F4E30 #1F264E #4E1F3E
split-complementary
#4E471F #1F3E4E #301F4E
monochromatic
#161409 #221F0E #4E471F #7A6F30 #A69742

Accessibility & contrast

On white

9.35
#4E471F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#4E471F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E471F
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E471F#FFFFFF#000000##FFFFFF
##4E471F1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D451B
Deuteranopia (green-blind)
#4F4821
Tritanopia (blue-blind)
#54423E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4e471f;
/* rgb */ color: rgb(78, 71, 31);
/* oklch */ color: oklch(39.5% 0.059 99.5);
Tailwind
colors: {
  custom: {
    50: '#817a5c',
    500: '#4e471f',
    950: '#000000',
  },
}
SCSS
$custom: #4e471f;
$custom-light: #817a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e471f",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 31
  },
  "hsl": {
    "h": 51.064,
    "s": 43.119,
    "l": 21.373
  },
  "oklch": {
    "l": 0.39526,
    "c": 0.05891,
    "h": 99.5
  },
  "luminance": 0.06225
}

Semantic roles & 50–950 ramp

primary
#4E471F
secondary
#464F83
accent
#68D355
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0A0904
muted
#7C7B79

Preview Lab

Preview with #4E471F

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

Preview Lab → · Contrast checker → · Palette generator →

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