#4E521A#4E521A

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

Color values

HEX#4E521A
RGBrgb(78, 82, 26)
HSLhsl(64, 52%, 21%)
HSVhsv(64, 68%, 32%)
CMYKcmyk(4.9%, 0%, 68.3%, 67.8%)
CIE-LABlab(33.41, -10.14, 31.27)
CIE-LCHlch(33.41, 32.87, 107.97°)
OKLaboklab(42.25% -0.0304 0.0712)
OKLCHoklch(42.25% 0.077 113.1)
XYZxyz(6.3458, 7.7290, 2.1346)
Luminance0.0773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E521A #1E1A52
analogous
#523A1A #4E521A #32521A
triadic
#4E521A #1A4E52 #521A4E
tetradic
#4E521A #1A523A #1E1A52 #521A32
square
#4E521A #1A523A #1E1A52 #521A32
split-complementary
#4E521A #1A3252 #3A1A52
monochromatic
#161707 #22240B #4E521A #7A8029 #A6AF37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E521A#FFFFFF#000000##FFFFFF
##4E521A1.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)
#584E13
Deuteranopia (green-blind)
#584F1E
Tritanopia (blue-blind)
#534D46
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e521a;
/* rgb */ color: rgb(78, 82, 26);
/* oklch */ color: oklch(42.2% 0.077 113.1);
Tailwind
colors: {
  custom: {
    50: '#81825a',
    500: '#4e521a',
    950: '#000000',
  },
}
SCSS
$custom: #4e521a;
$custom-light: #81825a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e521a",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 26
  },
  "hsl": {
    "h": 64.286,
    "s": 51.852,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42247,
    "c": 0.07742,
    "h": 113.1
  },
  "luminance": 0.07729
}

Semantic roles & 50–950 ramp

primary
#4E521A
secondary
#454088
accent
#4CDB57
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4E521A

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

Preview Lab → · Contrast checker → · Palette generator →

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