#4F471E#4F471E

#4F471E is a dark, moderate yellow. Relative luminance 0.063; OKLCH L 39.6% C 0.060 H 98.4°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#4F471E
RGBrgb(79, 71, 30)
HSLhsl(50, 45%, 21%)
HSVhsv(50, 62%, 31%)
CMYKcmyk(0%, 10.1%, 62%, 69%)
CIE-LABlab(30.07, -2.71, 25.48)
CIE-LCHlch(30.07, 25.63, 96.07°)
OKLaboklab(39.62% -0.0088 0.0595)
OKLCHoklch(39.62% 0.06 98.4)
XYZxyz(5.7122, 6.2627, 2.1360)
Luminance0.0626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F471E #1E264F
analogous
#4F2F1E #4F471E #3F4F1E
triadic
#4F471E #1E4F47 #471E4F
tetradic
#4F471E #1E4F2F #1E264F #4F1E3F
square
#4F471E #1E4F2F #1E264F #4F1E3F
split-complementary
#4F471E #1E3F4F #2F1E4F
monochromatic
#161408 #231F0D #4F471E #7B6F2F #A89740

Accessibility & contrast

On white

9.32
#4F471E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#4F471E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F471E
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F471E#FFFFFF#000000##FFFFFF
##4F471E1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E451A
Deuteranopia (green-blind)
#504820
Tritanopia (blue-blind)
#55423E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4f471e;
/* rgb */ color: rgb(79, 71, 30);
/* oklch */ color: oklch(39.6% 0.060 98.4);
Tailwind
colors: {
  custom: {
    50: '#827a5b',
    500: '#4f471e',
    950: '#000000',
  },
}
SCSS
$custom: #4f471e;
$custom-light: #827a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f471e",
  "rgb": {
    "r": 79,
    "g": 71,
    "b": 30
  },
  "hsl": {
    "h": 50.204,
    "s": 44.954,
    "l": 21.373
  },
  "oklch": {
    "l": 0.3962,
    "c": 0.0601,
    "h": 98.4
  },
  "luminance": 0.06262
}

Semantic roles & 50–950 ramp

primary
#4F471E
secondary
#454F84
accent
#68D553
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0904
muted
#7C7B79

Preview Lab

Preview with #4F471E

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

Preview Lab → · Contrast checker → · Palette generator →

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