#4F481A#4F481A

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

Color values

HEX#4F481A
RGBrgb(79, 72, 26)
HSLhsl(52, 50%, 21%)
HSVhsv(52, 67%, 31%)
CMYKcmyk(0%, 8.9%, 67.1%, 69%)
CIE-LABlab(30.33, -3.67, 27.96)
CIE-LCHlch(30.33, 28.20, 97.48°)
OKLaboklab(39.82% -0.0121 0.0642)
OKLCHoklch(39.82% 0.065 100.7)
XYZxyz(5.7285, 6.3718, 1.9052)
Luminance0.0637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F481A #1A214F
analogous
#4F2D1A #4F481A #3B4F1A
triadic
#4F481A #1A4F48 #481A4F
tetradic
#4F481A #1A4F2D #1A214F #4F1A3B
square
#4F481A #1A4F2D #1A214F #4F1A3B
split-complementary
#4F481A #1A3B4F #2D1A4F
monochromatic
#171508 #211E0B #4F481A #7D7229 #AB9C38

Accessibility & contrast

On white

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

On black

2.27
#4F481A on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4F481A#FFFFFF#000000##FFFFFF
##4F481A1.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f481a;
/* rgb */ color: rgb(79, 72, 26);
/* oklch */ color: oklch(39.8% 0.065 100.7);
Tailwind
colors: {
  custom: {
    50: '#827a59',
    500: '#4f481a',
    950: '#000000',
  },
}
SCSS
$custom: #4f481a;
$custom-light: #827a59;
$custom-dark: #000000;
JSON
{
  "hex": "#4f481a",
  "rgb": {
    "r": 79,
    "g": 72,
    "b": 26
  },
  "hsl": {
    "h": 52.075,
    "s": 50.476,
    "l": 20.588
  },
  "oklch": {
    "l": 0.39816,
    "c": 0.06529,
    "h": 100.7
  },
  "luminance": 0.06372
}

Semantic roles & 50–950 ramp

primary
#4F481A
secondary
#404985
accent
#60DA4E
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4F481A

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

Preview Lab → · Contrast checker → · Palette generator →

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