#4E471B#4E471B

#4E471B is a dark, moderate yellow. Relative luminance 0.062; OKLCH L 39.5% C 0.063 H 100.3°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#4E471B
RGBrgb(78, 71, 27)
HSLhsl(52, 49%, 21%)
HSVhsv(52, 65%, 31%)
CMYKcmyk(0%, 9%, 65.4%, 69.4%)
CIE-LABlab(29.93, -3.47, 26.95)
CIE-LCHlch(29.93, 27.17, 97.34°)
OKLaboklab(39.47% -0.0114 0.0622)
OKLCHoklch(39.47% 0.063 100.3)
XYZxyz(5.5932, 6.2055, 1.9399)
Luminance0.0621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E471B #1B224E
analogous
#4E2D1B #4E471B #3B4E1B
triadic
#4E471B #1B4E47 #471B4E
tetradic
#4E471B #1B4E2D #1B224E #4E1B3B
square
#4E471B #1B4E2D #1B224E #4E1B3B
split-complementary
#4E471B #1B3B4E #2D1B4E
monochromatic
#171508 #211E0B #4E471B #7B702B #A99A3A

Accessibility & contrast

On white

9.37
#4E471B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#4E471B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E471B
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E471B#FFFFFF#000000##FFFFFF
##4E471B1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4516
Deuteranopia (green-blind)
#50481D
Tritanopia (blue-blind)
#54423D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e471b;
/* rgb */ color: rgb(78, 71, 27);
/* oklch */ color: oklch(39.5% 0.063 100.3);
Tailwind
colors: {
  custom: {
    50: '#817a59',
    500: '#4e471b',
    950: '#000000',
  },
}
SCSS
$custom: #4e471b;
$custom-light: #817a59;
$custom-dark: #000000;
JSON
{
  "hex": "#4e471b",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 27
  },
  "hsl": {
    "h": 51.765,
    "s": 48.571,
    "l": 20.588
  },
  "oklch": {
    "l": 0.39472,
    "c": 0.06321,
    "h": 100.3
  },
  "luminance": 0.06205
}

Semantic roles & 50–950 ramp

primary
#4E471B
secondary
#414A84
accent
#62D850
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0A0903
muted
#7C7B78

Preview Lab

Preview with #4E471B

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

Preview Lab → · Contrast checker → · Palette generator →

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