#4E521B#4E521B

#4E521B is a dark, moderate yellow. Relative luminance 0.077; OKLCH L 42.3% C 0.076 H 113.1°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#4E521B
RGBrgb(78, 82, 27)
HSLhsl(64, 50%, 21%)
HSVhsv(64, 67%, 32%)
CMYKcmyk(4.9%, 0%, 67.1%, 67.8%)
CIE-LABlab(33.42, -10.06, 30.78)
CIE-LCHlch(33.42, 32.38, 108.10°)
OKLaboklab(42.26% -0.0301 0.0703)
OKLCHoklch(42.26% 0.076 113.1)
XYZxyz(6.3572, 7.7335, 2.1945)
Luminance0.0773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E521B #1F1B52
analogous
#523B1B #4E521B #33521B
triadic
#4E521B #1B4E52 #521B4E
tetradic
#4E521B #1B523B #1F1B52 #521B33
square
#4E521B #1B523B #1F1B52 #521B33
split-complementary
#4E521B #1B3352 #3B1B52
monochromatic
#161708 #22240C #4E521B #7A802A #A6AE39

Accessibility & contrast

On white

8.25
#4E521B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4E521B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E521B
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E521B#FFFFFF#000000##FFFFFF
##4E521B1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E14
Deuteranopia (green-blind)
#584F1F
Tritanopia (blue-blind)
#534D46
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e521b;
/* rgb */ color: rgb(78, 82, 27);
/* oklch */ color: oklch(42.3% 0.076 113.1);
Tailwind
colors: {
  custom: {
    50: '#81825a',
    500: '#4e521b',
    950: '#000000',
  },
}
SCSS
$custom: #4e521b;
$custom-light: #81825a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e521b",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 27
  },
  "hsl": {
    "h": 64.364,
    "s": 50.459,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42258,
    "c": 0.07649,
    "h": 113.1
  },
  "luminance": 0.07733
}

Semantic roles & 50–950 ramp

primary
#4E521B
secondary
#464188
accent
#4EDA58
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4E521B

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

Preview Lab → · Contrast checker → · Palette generator →

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