#4F421A#4F421A

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

Color values

HEX#4F421A
RGBrgb(79, 66, 26)
HSLhsl(45, 50%, 21%)
HSVhsv(45, 67%, 31%)
CMYKcmyk(0%, 16.5%, 67.1%, 69%)
CIE-LABlab(28.47, 0.06, 25.89)
CIE-LCHlch(28.47, 25.89, 89.87°)
OKLaboklab(38.34% -0.0014 0.0597)
OKLCHoklch(38.34% 0.06 91.3)
XYZxyz(5.3594, 5.6336, 1.7822)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F421A #1A274F
analogous
#4F271A #4F421A #414F1A
triadic
#4F421A #1A4F42 #421A4F
tetradic
#4F421A #1A4F27 #1A274F #4F1A41
square
#4F421A #1A4F27 #1A274F #4F1A41
split-complementary
#4F421A #1A414F #271A4F
monochromatic
#171308 #211C0B #4F421A #7D6829 #AB8F38

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F421A#FFFFFF#000000##FFFFFF
##4F421A1.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)
#494116
Deuteranopia (green-blind)
#4D451C
Tritanopia (blue-blind)
#563D39
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4f421a;
/* rgb */ color: rgb(79, 66, 26);
/* oklch */ color: oklch(38.3% 0.060 91.3);
Tailwind
colors: {
  custom: {
    50: '#827658',
    500: '#4f421a',
    950: '#000000',
  },
}
SCSS
$custom: #4f421a;
$custom-light: #827658;
$custom-dark: #000000;
JSON
{
  "hex": "#4f421a",
  "rgb": {
    "r": 79,
    "g": 66,
    "b": 26
  },
  "hsl": {
    "h": 45.283,
    "s": 50.476,
    "l": 20.588
  },
  "oklch": {
    "l": 0.38341,
    "c": 0.05976,
    "h": 91.3
  },
  "luminance": 0.05633
}

Semantic roles & 50–950 ramp

primary
#4F421A
secondary
#405185
accent
#70DA4E
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0803
muted
#7C7B78

Preview Lab

Preview with #4F421A

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

Preview Lab → · Contrast checker → · Palette generator →

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