#4E542E#4E542E

#4E542E is a dark, muted yellow. Relative luminance 0.082; OKLCH L 43.0% C 0.058 H 116.2°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#4E542E
RGBrgb(78, 84, 46)
HSLhsl(69, 29%, 25%)
HSVhsv(69, 45%, 33%)
CMYKcmyk(7.1%, 0%, 45.2%, 67.1%)
CIE-LABlab(34.31, -9.23, 21.38)
CIE-LCHlch(34.31, 23.29, 113.34°)
OKLaboklab(43.05% -0.0256 0.0519)
OKLCHoklch(43.05% 0.058 116.2)
XYZxyz(6.8054, 8.1577, 3.8003)
Luminance0.0816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E542E #342E54
analogous
#54472E #4E542E #3B542E
triadic
#4E542E #2E4E54 #542E4E
tetradic
#4E542E #2E5447 #342E54 #542E3B
square
#4E542E #2E5447 #342E54 #542E3B
split-complementary
#4E542E #2E3B54 #472E54
monochromatic
#12140B #292C18 #4E542E #737C44 #97A359

Accessibility & contrast

On white

7.98
#4E542E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#4E542E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E542E
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E542E#FFFFFF#000000##FFFFFF
##4E542E1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59502B
Deuteranopia (green-blind)
#585130
Tritanopia (blue-blind)
#52504B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e542e;
/* rgb */ color: rgb(78, 84, 46);
/* oklch */ color: oklch(43.0% 0.058 116.2);
Tailwind
colors: {
  custom: {
    50: '#808467',
    500: '#4e542e',
    950: '#000000',
  },
}
SCSS
$custom: #4e542e;
$custom-light: #808467;
$custom-dark: #000000;
JSON
{
  "hex": "#4e542e",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 46
  },
  "hsl": {
    "h": 69.474,
    "s": 29.231,
    "l": 25.49
  },
  "oklch": {
    "l": 0.43047,
    "c": 0.05787,
    "h": 116.2
  },
  "luminance": 0.08158
}

Semantic roles & 50–950 ramp

primary
#4E542E
secondary
#5F5886
accent
#62C572
background
#F7F8F6
surface
#EEEFEB
border
#C9CAC6
text
#0A0A06
muted
#7C7C7A

Preview Lab

Preview with #4E542E

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

Preview Lab → · Contrast checker → · Palette generator →

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