#4E522A#4E522A

#4E522A is a dark, muted yellow. Relative luminance 0.078; OKLCH L 42.5% C 0.060 H 113.6°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#4E522A
RGBrgb(78, 82, 42)
HSLhsl(66, 32%, 24%)
HSVhsv(66, 49%, 32%)
CMYKcmyk(4.9%, 0%, 48.8%, 67.8%)
CIE-LABlab(33.61, -8.55, 22.84)
CIE-LCHlch(33.61, 24.39, 110.53°)
OKLaboklab(42.47% -0.024 0.0549)
OKLCHoklch(42.47% 0.06 113.6)
XYZxyz(6.5772, 7.8215, 3.3533)
Luminance0.0782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E522A #2E2A52
analogous
#52422A #4E522A #3A522A
triadic
#4E522A #2A4E52 #522A4E
tetradic
#4E522A #2A5242 #2E2A52 #522A3A
square
#4E522A #2A5242 #2E2A52 #522A3A
split-complementary
#4E522A #2A3A52 #422A52
monochromatic
#13140A #282A15 #4E522A #747A3F #9BA353

Accessibility & contrast

On white

8.19
#4E522A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4E522A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E522A
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E522A#FFFFFF#000000##FFFFFF
##4E522A1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574F27
Deuteranopia (green-blind)
#574F2C
Tritanopia (blue-blind)
#524E49
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e522a;
/* rgb */ color: rgb(78, 82, 42);
/* oklch */ color: oklch(42.5% 0.060 113.6);
Tailwind
colors: {
  custom: {
    50: '#808264',
    500: '#4e522a',
    950: '#000000',
  },
}
SCSS
$custom: #4e522a;
$custom-light: #808264;
$custom-dark: #000000;
JSON
{
  "hex": "#4e522a",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 42
  },
  "hsl": {
    "h": 66,
    "s": 32.258,
    "l": 24.314
  },
  "oklch": {
    "l": 0.42467,
    "c": 0.05994,
    "h": 113.6
  },
  "luminance": 0.07821
}

Semantic roles & 50–950 ramp

primary
#4E522A
secondary
#585484
accent
#5FC86A
background
#F7F7F6
surface
#EEEEEB
border
#C9C9C6
text
#0A0A05
muted
#7C7C7A

Preview Lab

Preview with #4E522A

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

Preview Lab → · Contrast checker → · Palette generator →

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