#4E481F#4E481F

#4E481F is a dark, moderate yellow. Relative luminance 0.064; OKLCH L 39.8% C 0.060 H 101.1°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#4E481F
RGBrgb(78, 72, 31)
HSLhsl(52, 43%, 21%)
HSVhsv(52, 60%, 31%)
CMYKcmyk(0%, 7.7%, 60.3%, 69.4%)
CIE-LABlab(30.29, -3.73, 25.15)
CIE-LCHlch(30.29, 25.43, 98.43°)
OKLaboklab(39.78% -0.0115 0.0589)
OKLCHoklch(39.78% 0.06 101.1)
XYZxyz(5.7068, 6.3536, 2.2218)
Luminance0.0635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E481F #1F254E
analogous
#4E311F #4E481F #3D4E1F
triadic
#4E481F #1F4E48 #481F4E
tetradic
#4E481F #1F4E31 #1F254E #4E1F3D
square
#4E481F #1F4E31 #1F254E #4E1F3D
split-complementary
#4E481F #1F3D4E #311F4E
monochromatic
#161409 #22200E #4E481F #7A7030 #A69942

Accessibility & contrast

On white

9.25
#4E481F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E481F
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E481F#FFFFFF#000000##FFFFFF
##4E481F1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E461B
Deuteranopia (green-blind)
#504821
Tritanopia (blue-blind)
#54433F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4e481f;
/* rgb */ color: rgb(78, 72, 31);
/* oklch */ color: oklch(39.8% 0.060 101.1);
Tailwind
colors: {
  custom: {
    50: '#817a5c',
    500: '#4e481f',
    950: '#000000',
  },
}
SCSS
$custom: #4e481f;
$custom-light: #817a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e481f",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 31
  },
  "hsl": {
    "h": 52.34,
    "s": 43.119,
    "l": 21.373
  },
  "oklch": {
    "l": 0.39775,
    "c": 0.06,
    "h": 101.1
  },
  "luminance": 0.06353
}

Semantic roles & 50–950 ramp

primary
#4E481F
secondary
#464E83
accent
#65D355
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0A0904
muted
#7C7B79

Preview Lab

Preview with #4E481F

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

Preview Lab → · Contrast checker → · Palette generator →

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