#4E541A#4E541A

#4E541A is a dark, moderate yellow. Relative luminance 0.080; OKLCH L 42.8% C 0.080 H 114.9°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#4E541A
RGBrgb(78, 84, 26)
HSLhsl(66, 53%, 22%)
HSVhsv(66, 69%, 33%)
CMYKcmyk(7.1%, 0%, 69%, 67.1%)
CIE-LABlab(34.06, -11.30, 31.95)
CIE-LCHlch(34.06, 33.89, 109.48°)
OKLaboklab(42.76% -0.0336 0.0726)
OKLCHoklch(42.76% 0.08 114.9)
XYZxyz(6.4988, 8.0350, 2.1856)
Luminance0.0804 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E541A #201A54
analogous
#543D1A #4E541A #31541A
triadic
#4E541A #1A4E54 #541A4E
tetradic
#4E541A #1A543D #201A54 #541A31
square
#4E541A #1A543D #201A54 #541A31
split-complementary
#4E541A #1A3154 #3D1A54
monochromatic
#161707 #23250C #4E541A #798328 #A5B137

Accessibility & contrast

On white

8.06
#4E541A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#4E541A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E541A
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E541A#FFFFFF#000000##FFFFFF
##4E541A1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5013
Deuteranopia (green-blind)
#5A511E
Tritanopia (blue-blind)
#534F48
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e541a;
/* rgb */ color: rgb(78, 84, 26);
/* oklch */ color: oklch(42.8% 0.080 114.9);
Tailwind
colors: {
  custom: {
    50: '#81845a',
    500: '#4e541a',
    950: '#000000',
  },
}
SCSS
$custom: #4e541a;
$custom-light: #81845a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e541a",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 26
  },
  "hsl": {
    "h": 66.207,
    "s": 52.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42762,
    "c": 0.08006,
    "h": 114.9
  },
  "luminance": 0.08035
}

Semantic roles & 50–950 ramp

primary
#4E541A
secondary
#47408A
accent
#4CDC5B
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #4E541A

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

Preview Lab → · Contrast checker → · Palette generator →

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