#4E541C#4E541C

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

Color values

HEX#4E541C
RGBrgb(78, 84, 28)
HSLhsl(66, 50%, 22%)
HSVhsv(66, 67%, 33%)
CMYKcmyk(7.1%, 0%, 66.7%, 67.1%)
CIE-LABlab(34.08, -11.14, 30.99)
CIE-LCHlch(34.08, 32.93, 109.77°)
OKLaboklab(42.78% -0.033 0.0709)
OKLCHoklch(42.78% 0.078 114.9)
XYZxyz(6.5220, 8.0443, 2.3075)
Luminance0.0804 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E541C #221C54
analogous
#543E1C #4E541C #32541C
triadic
#4E541C #1C4E54 #541C4E
tetradic
#4E541C #1C543E #221C54 #541C32
square
#4E541C #1C543E #221C54 #541C32
split-complementary
#4E541C #1C3254 #3E1C54
monochromatic
#151708 #23260D #4E541C #79822B #A3B03B

Accessibility & contrast

On white

8.05
#4E541C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E541C
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E541C#FFFFFF#000000##FFFFFF
##4E541C1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e541c;
/* rgb */ color: rgb(78, 84, 28);
/* oklch */ color: oklch(42.8% 0.078 114.9);
Tailwind
colors: {
  custom: {
    50: '#81845b',
    500: '#4e541c',
    950: '#000000',
  },
}
SCSS
$custom: #4e541c;
$custom-light: #81845b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e541c",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 28
  },
  "hsl": {
    "h": 66.429,
    "s": 50,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42784,
    "c": 0.07823,
    "h": 114.9
  },
  "luminance": 0.08044
}

Semantic roles & 50–950 ramp

primary
#4E541C
secondary
#4A428A
accent
#4EDA5D
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4E541C

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

Preview Lab → · Contrast checker → · Palette generator →

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