#4E481C#4E481C

#4E481C is a dark, moderate yellow. Relative luminance 0.063; OKLCH L 39.7% C 0.063 H 101.6°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#4E481C
RGBrgb(78, 72, 28)
HSLhsl(53, 47%, 21%)
HSVhsv(53, 64%, 31%)
CMYKcmyk(0%, 7.7%, 64.1%, 69.4%)
CIE-LABlab(30.25, -4.00, 26.77)
CIE-LCHlch(30.25, 27.07, 98.50°)
OKLaboklab(39.73% -0.0127 0.062)
OKLCHoklch(39.73% 0.063 101.6)
XYZxyz(5.6691, 6.3385, 2.0232)
Luminance0.0634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E481C #1C224E
analogous
#4E2F1C #4E481C #3B4E1C
triadic
#4E481C #1C4E48 #481C4E
tetradic
#4E481C #1C4E2F #1C224E #4E1C3B
square
#4E481C #1C4E2F #1C224E #4E1C3B
split-complementary
#4E481C #1C3B4E #2F1C4E
monochromatic
#171508 #211E0C #4E481C #7B722C #A89B3C

Accessibility & contrast

On white

9.26
#4E481C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#4E481C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E481C
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E481C#FFFFFF#000000##FFFFFF
##4E481C1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4617
Deuteranopia (green-blind)
#50481E
Tritanopia (blue-blind)
#54433E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4e481c;
/* rgb */ color: rgb(78, 72, 28);
/* oklch */ color: oklch(39.7% 0.063 101.6);
Tailwind
colors: {
  custom: {
    50: '#817a5a',
    500: '#4e481c',
    950: '#000000',
  },
}
SCSS
$custom: #4e481c;
$custom-light: #817a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e481c",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 28
  },
  "hsl": {
    "h": 52.8,
    "s": 47.17,
    "l": 20.784
  },
  "oklch": {
    "l": 0.39734,
    "c": 0.06324,
    "h": 101.6
  },
  "luminance": 0.06338
}

Semantic roles & 50–950 ramp

primary
#4E481C
secondary
#424A84
accent
#61D751
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0A0904
muted
#7C7B79

Preview Lab

Preview with #4E481C

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

Preview Lab → · Contrast checker → · Palette generator →

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