#4F481F#4F481F

#4F481F is a dark, moderate yellow. Relative luminance 0.064; OKLCH L 39.9% C 0.060 H 99.8°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#4F481F
RGBrgb(79, 72, 31)
HSLhsl(51, 44%, 22%)
HSVhsv(51, 61%, 31%)
CMYKcmyk(0%, 8.9%, 60.8%, 69%)
CIE-LABlab(30.39, -3.23, 25.30)
CIE-LCHlch(30.39, 25.50, 97.28°)
OKLaboklab(39.88% -0.0102 0.0592)
OKLCHoklch(39.88% 0.06 99.8)
XYZxyz(5.7893, 6.3961, 2.2257)
Luminance0.0640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F481F #1F264F
analogous
#4F301F #4F481F #3E4F1F
triadic
#4F481F #1F4F48 #481F4F
tetradic
#4F481F #1F4F30 #1F264F #4F1F3E
square
#4F481F #1F4F30 #1F264F #4F1F3E
split-complementary
#4F481F #1F3E4F #301F4F
monochromatic
#161409 #23200E #4F481F #7B7030 #A79841

Accessibility & contrast

On white

9.21
#4F481F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#4F481F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F481F
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F481F#FFFFFF#000000##FFFFFF
##4F481F1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F461B
Deuteranopia (green-blind)
#514921
Tritanopia (blue-blind)
#55433F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4f481f;
/* rgb */ color: rgb(79, 72, 31);
/* oklch */ color: oklch(39.9% 0.060 99.8);
Tailwind
colors: {
  custom: {
    50: '#827a5c',
    500: '#4f481f',
    950: '#000000',
  },
}
SCSS
$custom: #4f481f;
$custom-light: #827a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f481f",
  "rgb": {
    "r": 79,
    "g": 72,
    "b": 31
  },
  "hsl": {
    "h": 51.25,
    "s": 43.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.39881,
    "c": 0.06005,
    "h": 99.8
  },
  "luminance": 0.06396
}

Semantic roles & 50–950 ramp

primary
#4F481F
secondary
#464F84
accent
#67D354
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0904
muted
#7C7B79

Preview Lab

Preview with #4F481F

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

Preview Lab → · Contrast checker → · Palette generator →

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