#4E541E#4E541E

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

Color values

HEX#4E541E
RGBrgb(78, 84, 30)
HSLhsl(67, 47%, 22%)
HSVhsv(67, 64%, 33%)
CMYKcmyk(7.1%, 0%, 64.3%, 67.1%)
CIE-LABlab(34.10, -10.97, 30.00)
CIE-LCHlch(34.10, 31.95, 110.09°)
OKLaboklab(42.81% -0.0322 0.0691)
OKLCHoklch(42.81% 0.076 115)
XYZxyz(6.5467, 8.0542, 2.4378)
Luminance0.0805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E541E #241E54
analogous
#543F1E #4E541E #33541E
triadic
#4E541E #1E4E54 #541E4E
tetradic
#4E541E #1E543F #241E54 #541E33
square
#4E541E #1E543F #241E54 #541E33
split-complementary
#4E541E #1E3354 #3F1E54
monochromatic
#151708 #24270E #4E541E #78812E #A2AE3E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E541E#FFFFFF#000000##FFFFFF
##4E541E1.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)
#5A5018
Deuteranopia (green-blind)
#5A5121
Tritanopia (blue-blind)
#534F48
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e541e;
/* rgb */ color: rgb(78, 84, 30);
/* oklch */ color: oklch(42.8% 0.076 115.0);
Tailwind
colors: {
  custom: {
    50: '#81845c',
    500: '#4e541e',
    950: '#000000',
  },
}
SCSS
$custom: #4e541e;
$custom-light: #81845c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e541e",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 30
  },
  "hsl": {
    "h": 66.667,
    "s": 47.368,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42807,
    "c": 0.07629,
    "h": 115
  },
  "luminance": 0.08054
}

Semantic roles & 50–950 ramp

primary
#4E541E
secondary
#4C4589
accent
#51D760
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4E541E

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

Preview Lab → · Contrast checker → · Palette generator →

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