#4F481C#4F481C

#4F481C is a dark, moderate yellow. Relative luminance 0.064; OKLCH L 39.8% C 0.063 H 100.4°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#4F481C
RGBrgb(79, 72, 28)
HSLhsl(52, 48%, 21%)
HSVhsv(52, 65%, 31%)
CMYKcmyk(0%, 8.9%, 64.6%, 69%)
CIE-LABlab(30.35, -3.50, 26.91)
CIE-LCHlch(30.35, 27.14, 97.42°)
OKLaboklab(39.84% -0.0114 0.0622)
OKLCHoklch(39.84% 0.063 100.4)
XYZxyz(5.7516, 6.3811, 2.0271)
Luminance0.0638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F481C #1C234F
analogous
#4F2E1C #4F481C #3C4F1C
triadic
#4F481C #1C4F48 #481C4F
tetradic
#4F481C #1C4F2E #1C234F #4F1C3C
square
#4F481C #1C4F2E #1C234F #4F1C3C
split-complementary
#4F481C #1C3C4F #2E1C4F
monochromatic
#171508 #221F0C #4F481C #7C712C #A99A3C

Accessibility & contrast

On white

9.23
#4F481C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F481C
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F481C#FFFFFF#000000##FFFFFF
##4F481C1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4617
Deuteranopia (green-blind)
#51491E
Tritanopia (blue-blind)
#55433E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4f481c;
/* rgb */ color: rgb(79, 72, 28);
/* oklch */ color: oklch(39.8% 0.063 100.4);
Tailwind
colors: {
  custom: {
    50: '#827a5a',
    500: '#4f481c',
    950: '#000000',
  },
}
SCSS
$custom: #4f481c;
$custom-light: #827a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f481c",
  "rgb": {
    "r": 79,
    "g": 72,
    "b": 28
  },
  "hsl": {
    "h": 51.765,
    "s": 47.664,
    "l": 20.98
  },
  "oklch": {
    "l": 0.39841,
    "c": 0.06327,
    "h": 100.4
  },
  "luminance": 0.06381
}

Semantic roles & 50–950 ramp

primary
#4F481C
secondary
#424B85
accent
#63D751
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0904
muted
#7C7B79

Preview Lab

Preview with #4F481C

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

Preview Lab → · Contrast checker → · Palette generator →

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