#4E541B#4E541B

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

Color values

HEX#4E541B
RGBrgb(78, 84, 27)
HSLhsl(66, 51%, 22%)
HSVhsv(66, 68%, 33%)
CMYKcmyk(7.1%, 0%, 67.9%, 67.1%)
CIE-LABlab(34.07, -11.22, 31.47)
CIE-LCHlch(34.07, 33.41, 109.62°)
OKLaboklab(42.77% -0.0333 0.0718)
OKLCHoklch(42.77% 0.079 114.9)
XYZxyz(6.5102, 8.0396, 2.2455)
Luminance0.0804 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E541B #211B54
analogous
#543E1B #4E541B #32541B
triadic
#4E541B #1B4E54 #541B4E
tetradic
#4E541B #1B543E #211B54 #541B32
square
#4E541B #1B543E #211B54 #541B32
split-complementary
#4E541B #1B3254 #3E1B54
monochromatic
#161707 #23260C #4E541B #79822A #A4B139

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E541B#FFFFFF#000000##FFFFFF
##4E541B1.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)
#5A5014
Deuteranopia (green-blind)
#5A511F
Tritanopia (blue-blind)
#534F48
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e541b;
/* rgb */ color: rgb(78, 84, 27);
/* oklch */ color: oklch(42.8% 0.079 114.9);
Tailwind
colors: {
  custom: {
    50: '#81845a',
    500: '#4e541b',
    950: '#000000',
  },
}
SCSS
$custom: #4e541b;
$custom-light: #81845a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e541b",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 27
  },
  "hsl": {
    "h": 66.316,
    "s": 51.351,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42773,
    "c": 0.07915,
    "h": 114.9
  },
  "luminance": 0.08039
}

Semantic roles & 50–950 ramp

primary
#4E541B
secondary
#49418A
accent
#4DDB5C
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4E541B

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

Preview Lab → · Contrast checker → · Palette generator →

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