#4E541F#4E541F

#4E541F is a dark, moderate yellow. Relative luminance 0.081; OKLCH L 42.8% C 0.075 H 115.1°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#4E541F
RGBrgb(78, 84, 31)
HSLhsl(67, 46%, 23%)
HSVhsv(67, 63%, 33%)
CMYKcmyk(7.1%, 0%, 63.1%, 67.1%)
CIE-LABlab(34.11, -10.88, 29.50)
CIE-LCHlch(34.11, 31.44, 110.25°)
OKLaboklab(42.82% -0.0319 0.0682)
OKLCHoklch(42.82% 0.075 115.1)
XYZxyz(6.5597, 8.0594, 2.5061)
Luminance0.0806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E541F #251F54
analogous
#543F1F #4E541F #34541F
triadic
#4E541F #1F4E54 #541F4E
tetradic
#4E541F #1F543F #251F54 #541F34
square
#4E541F #1F543F #251F54 #541F34
split-complementary
#4E541F #1F3454 #3F1F54
monochromatic
#151608 #24270F #4E541F #78812F #A1AD40

Accessibility & contrast

On white

8.04
#4E541F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E541F
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E541F#FFFFFF#000000##FFFFFF
##4E541F1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5019
Deuteranopia (green-blind)
#5A5122
Tritanopia (blue-blind)
#534F49
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e541f;
/* rgb */ color: rgb(78, 84, 31);
/* oklch */ color: oklch(42.8% 0.075 115.1);
Tailwind
colors: {
  custom: {
    50: '#81845d',
    500: '#4e541f',
    950: '#000000',
  },
}
SCSS
$custom: #4e541f;
$custom-light: #81845d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e541f",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 31
  },
  "hsl": {
    "h": 66.792,
    "s": 46.087,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42819,
    "c": 0.07529,
    "h": 115.1
  },
  "luminance": 0.08059
}

Semantic roles & 50–950 ramp

primary
#4E541F
secondary
#4E4689
accent
#52D661
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4E541F

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

Preview Lab → · Contrast checker → · Palette generator →

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