#4F431B#4F431B

#4F431B is a dark, muted yellow. Relative luminance 0.058; OKLCH L 38.6% C 0.060 H 92.7°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#4F431B
RGBrgb(79, 67, 27)
HSLhsl(46, 49%, 21%)
HSVhsv(46, 66%, 31%)
CMYKcmyk(0%, 15.2%, 65.8%, 69%)
CIE-LABlab(28.79, -0.49, 25.70)
CIE-LCHlch(28.79, 25.70, 91.08°)
OKLaboklab(38.6% -0.0028 0.0595)
OKLCHoklch(38.6% 0.06 92.7)
XYZxyz(5.4297, 5.7560, 1.8617)
Luminance0.0576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F431B #1B274F
analogous
#4F291B #4F431B #414F1B
triadic
#4F431B #1B4F43 #431B4F
tetradic
#4F431B #1B4F29 #1B274F #4F1B41
square
#4F431B #1B4F29 #1B274F #4F1B41
split-complementary
#4F431B #1B414F #291B4F
monochromatic
#171308 #211C0B #4F431B #7D6A2B #AA903A

Accessibility & contrast

On white

9.76
#4F431B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4F431B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F431B
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F431B#FFFFFF#000000##FFFFFF
##4F431B1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4217
Deuteranopia (green-blind)
#4D451D
Tritanopia (blue-blind)
#553E3A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4f431b;
/* rgb */ color: rgb(79, 67, 27);
/* oklch */ color: oklch(38.6% 0.060 92.7);
Tailwind
colors: {
  custom: {
    50: '#827659',
    500: '#4f431b',
    950: '#000000',
  },
}
SCSS
$custom: #4f431b;
$custom-light: #827659;
$custom-dark: #000000;
JSON
{
  "hex": "#4f431b",
  "rgb": {
    "r": 79,
    "g": 67,
    "b": 27
  },
  "hsl": {
    "h": 46.154,
    "s": 49.057,
    "l": 20.784
  },
  "oklch": {
    "l": 0.38598,
    "c": 0.05955,
    "h": 92.7
  },
  "luminance": 0.05756
}

Semantic roles & 50–950 ramp

primary
#4F431B
secondary
#415185
accent
#6FD94F
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0803
muted
#7C7B78

Preview Lab

Preview with #4F431B

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

Preview Lab → · Contrast checker → · Palette generator →

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