#4E481A#4E481A

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

Color values

HEX#4E481A
RGBrgb(78, 72, 26)
HSLhsl(53, 50%, 20%)
HSVhsv(53, 67%, 31%)
CMYKcmyk(0%, 7.7%, 66.7%, 69.4%)
CIE-LABlab(30.23, -4.17, 27.82)
CIE-LCHlch(30.23, 28.13, 98.53°)
OKLaboklab(39.71% -0.0135 0.0639)
OKLCHoklch(39.71% 0.065 101.9)
XYZxyz(5.6459, 6.3292, 1.9013)
Luminance0.0633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E481A #1A204E
analogous
#4E2E1A #4E481A #3A4E1A
triadic
#4E481A #1A4E48 #481A4E
tetradic
#4E481A #1A4E2E #1A204E #4E1A3A
square
#4E481A #1A4E2E #1A204E #4E1A3A
split-complementary
#4E481A #1A3A4E #2E1A4E
monochromatic
#171508 #201E0B #4E481A #7C7229 #AA9D39

Accessibility & contrast

On white

9.27
#4E481A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E481A
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E481A#FFFFFF#000000##FFFFFF
##4E481A1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4615
Deuteranopia (green-blind)
#51481C
Tritanopia (blue-blind)
#54433E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4e481a;
/* rgb */ color: rgb(78, 72, 26);
/* oklch */ color: oklch(39.7% 0.065 101.9);
Tailwind
colors: {
  custom: {
    50: '#817a59',
    500: '#4e481a',
    950: '#000000',
  },
}
SCSS
$custom: #4e481a;
$custom-light: #817a59;
$custom-dark: #000000;
JSON
{
  "hex": "#4e481a",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 26
  },
  "hsl": {
    "h": 53.077,
    "s": 50,
    "l": 20.392
  },
  "oklch": {
    "l": 0.39709,
    "c": 0.0653,
    "h": 101.9
  },
  "luminance": 0.06329
}

Semantic roles & 50–950 ramp

primary
#4E481A
secondary
#404884
accent
#5EDA4E
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4E481A

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

Preview Lab → · Contrast checker → · Palette generator →

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