#4F421B#4F421B

#4F421B is a dark, muted yellow. Relative luminance 0.056; OKLCH L 38.4% C 0.059 H 91.0°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#4F421B
RGBrgb(79, 66, 27)
HSLhsl(45, 49%, 21%)
HSVhsv(45, 66%, 31%)
CMYKcmyk(0%, 16.5%, 65.8%, 69%)
CIE-LABlab(28.48, 0.14, 25.35)
CIE-LCHlch(28.48, 25.35, 89.68°)
OKLaboklab(38.35% -0.001 0.0587)
OKLCHoklch(38.35% 0.059 91)
XYZxyz(5.3707, 5.6381, 1.8421)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F421B #1B284F
analogous
#4F281B #4F421B #424F1B
triadic
#4F421B #1B4F42 #421B4F
tetradic
#4F421B #1B4F28 #1B284F #4F1B42
square
#4F421B #1B4F28 #1B284F #4F1B42
split-complementary
#4F421B #1B424F #281B4F
monochromatic
#171308 #211C0B #4F421B #7D682B #AA8E3A

Accessibility & contrast

On white

9.87
#4F421B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4F421B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F421B
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F421B#FFFFFF#000000##FFFFFF
##4F421B1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494117
Deuteranopia (green-blind)
#4C451D
Tritanopia (blue-blind)
#563D39
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4f421b;
/* rgb */ color: rgb(79, 66, 27);
/* oklch */ color: oklch(38.4% 0.059 91.0);
Tailwind
colors: {
  custom: {
    50: '#827659',
    500: '#4f421b',
    950: '#000000',
  },
}
SCSS
$custom: #4f421b;
$custom-light: #827659;
$custom-dark: #000000;
JSON
{
  "hex": "#4f421b",
  "rgb": {
    "r": 79,
    "g": 66,
    "b": 27
  },
  "hsl": {
    "h": 45,
    "s": 49.057,
    "l": 20.784
  },
  "oklch": {
    "l": 0.38355,
    "c": 0.05874,
    "h": 91
  },
  "luminance": 0.05638
}

Semantic roles & 50–950 ramp

primary
#4F421B
secondary
#415285
accent
#72D94F
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0803
muted
#7C7B78

Preview Lab

Preview with #4F421B

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

Preview Lab → · Contrast checker → · Palette generator →

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