#4F542E#4F542E

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

Color values

HEX#4F542E
RGBrgb(79, 84, 46)
HSLhsl(68, 29%, 25%)
HSVhsv(68, 45%, 33%)
CMYKcmyk(6%, 0%, 45.2%, 67.1%)
CIE-LABlab(34.40, -8.77, 21.51)
CIE-LCHlch(34.40, 23.23, 112.18°)
OKLaboklab(43.14% -0.0243 0.0522)
OKLCHoklch(43.14% 0.058 115)
XYZxyz(6.8880, 8.2002, 3.8042)
Luminance0.0820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F542E #332E54
analogous
#54462E #4F542E #3C542E
triadic
#4F542E #2E4F54 #542E4F
tetradic
#4F542E #2E5446 #332E54 #542E3C
square
#4F542E #2E5446 #332E54 #542E3C
split-complementary
#4F542E #2E3C54 #462E54
monochromatic
#13140B #2A2C18 #4F542E #747C44 #99A359

Accessibility & contrast

On white

7.95
#4F542E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4F542E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F542E
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F542E#FFFFFF#000000##FFFFFF
##4F542E1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59512B
Deuteranopia (green-blind)
#595130
Tritanopia (blue-blind)
#53504B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4f542e;
/* rgb */ color: rgb(79, 84, 46);
/* oklch */ color: oklch(43.1% 0.058 115.0);
Tailwind
colors: {
  custom: {
    50: '#818467',
    500: '#4f542e',
    950: '#000000',
  },
}
SCSS
$custom: #4f542e;
$custom-light: #818467;
$custom-dark: #000000;
JSON
{
  "hex": "#4f542e",
  "rgb": {
    "r": 79,
    "g": 84,
    "b": 46
  },
  "hsl": {
    "h": 67.895,
    "s": 29.231,
    "l": 25.49
  },
  "oklch": {
    "l": 0.43138,
    "c": 0.05758,
    "h": 115
  },
  "luminance": 0.082
}

Semantic roles & 50–950 ramp

primary
#4F542E
secondary
#5E5886
accent
#62C56F
background
#F7F8F6
surface
#EEEFEB
border
#C9CAC6
text
#0A0A06
muted
#7C7C7A

Preview Lab

Preview with #4F542E

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

Preview Lab → · Contrast checker → · Palette generator →

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