#4C481F#4C481F

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

Color values

HEX#4C481F
RGBrgb(76, 72, 31)
HSLhsl(55, 42%, 21%)
HSVhsv(55, 59%, 30%)
CMYKcmyk(0%, 5.3%, 59.2%, 70.2%)
CIE-LABlab(30.08, -4.72, 24.87)
CIE-LCHlch(30.08, 25.31, 100.74°)
OKLaboklab(39.57% -0.0142 0.0583)
OKLCHoklch(39.57% 0.06 103.7)
XYZxyz(5.5453, 6.2703, 2.2142)
Luminance0.0627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C481F #1F234C
analogous
#4C311F #4C481F #394C1F
triadic
#4C481F #1F4C48 #481F4C
tetradic
#4C481F #1F4C31 #1F234C #4C1F39
square
#4C481F #1F4C31 #1F234C #4C1F39
split-complementary
#4C481F #1F394C #311F4C
monochromatic
#161509 #211F0D #4C481F #777131 #A39A42

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C481F#FFFFFF#000000##FFFFFF
##4C481F1.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)
#4E461B
Deuteranopia (green-blind)
#4F4821
Tritanopia (blue-blind)
#51433F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4c481f;
/* rgb */ color: rgb(76, 72, 31);
/* oklch */ color: oklch(39.6% 0.060 103.7);
Tailwind
colors: {
  custom: {
    50: '#7f7a5c',
    500: '#4c481f',
    950: '#000000',
  },
}
SCSS
$custom: #4c481f;
$custom-light: #7f7a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c481f",
  "rgb": {
    "r": 76,
    "g": 72,
    "b": 31
  },
  "hsl": {
    "h": 54.667,
    "s": 42.056,
    "l": 20.98
  },
  "oklch": {
    "l": 0.39565,
    "c": 0.06001,
    "h": 103.7
  },
  "luminance": 0.0627
}

Semantic roles & 50–950 ramp

primary
#4C481F
secondary
#464B81
accent
#61D256
background
#F7F7F5
surface
#EEEDE9
border
#C9C8C5
text
#0A0904
muted
#7C7B79

Preview Lab

Preview with #4C481F

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

Preview Lab → · Contrast checker → · Palette generator →

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