#4F481B#4F481B

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

Color values

HEX#4F481B
RGBrgb(79, 72, 27)
HSLhsl(52, 49%, 21%)
HSVhsv(52, 66%, 31%)
CMYKcmyk(0%, 8.9%, 65.8%, 69%)
CIE-LABlab(30.34, -3.59, 27.44)
CIE-LCHlch(30.34, 27.67, 97.45°)
OKLaboklab(39.83% -0.0117 0.0632)
OKLCHoklch(39.83% 0.064 100.5)
XYZxyz(5.7399, 6.3764, 1.9651)
Luminance0.0638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F481B #1B224F
analogous
#4F2E1B #4F481B #3C4F1B
triadic
#4F481B #1B4F48 #481B4F
tetradic
#4F481B #1B4F2E #1B224F #4F1B3C
square
#4F481B #1B4F2E #1B224F #4F1B3C
split-complementary
#4F481B #1B3C4F #2E1B4F
monochromatic
#171508 #211E0B #4F481B #7D722B #AA9B3A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F481B#FFFFFF#000000##FFFFFF
##4F481B1.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)
#4F4616
Deuteranopia (green-blind)
#51491D
Tritanopia (blue-blind)
#55433E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4f481b;
/* rgb */ color: rgb(79, 72, 27);
/* oklch */ color: oklch(39.8% 0.064 100.5);
Tailwind
colors: {
  custom: {
    50: '#827a59',
    500: '#4f481b',
    950: '#000000',
  },
}
SCSS
$custom: #4f481b;
$custom-light: #827a59;
$custom-dark: #000000;
JSON
{
  "hex": "#4f481b",
  "rgb": {
    "r": 79,
    "g": 72,
    "b": 27
  },
  "hsl": {
    "h": 51.923,
    "s": 49.057,
    "l": 20.784
  },
  "oklch": {
    "l": 0.39828,
    "c": 0.06429,
    "h": 100.5
  },
  "luminance": 0.06376
}

Semantic roles & 50–950 ramp

primary
#4F481B
secondary
#414A85
accent
#62D94F
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4F481B

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

Preview Lab → · Contrast checker → · Palette generator →

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