#4C481B#4C481B

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

Color values

HEX#4C481B
RGBrgb(76, 72, 27)
HSLhsl(55, 48%, 20%)
HSVhsv(55, 64%, 30%)
CMYKcmyk(0%, 5.3%, 64.5%, 70.2%)
CIE-LABlab(30.04, -5.08, 27.01)
CIE-LCHlch(30.04, 27.49, 100.66°)
OKLaboklab(39.51% -0.0158 0.0624)
OKLCHoklch(39.51% 0.064 104.2)
XYZxyz(5.4959, 6.2506, 1.9537)
Luminance0.0625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C481B #1B1F4C
analogous
#4C2F1B #4C481B #374C1B
triadic
#4C481B #1B4C48 #481B4C
tetradic
#4C481B #1B4C2F #1B1F4C #4C1B37
square
#4C481B #1B4C2F #1B1F4C #4C1B37
split-complementary
#4C481B #1B374C #2F1B4C
monochromatic
#171508 #1F1D0B #4C481B #79732B #A69E3B

Accessibility & contrast

On white

9.33
#4C481B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C481B
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C481B#FFFFFF#000000##FFFFFF
##4C481B1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4516
Deuteranopia (green-blind)
#50481D
Tritanopia (blue-blind)
#52433E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4c481b;
/* rgb */ color: rgb(76, 72, 27);
/* oklch */ color: oklch(39.5% 0.064 104.2);
Tailwind
colors: {
  custom: {
    50: '#807a59',
    500: '#4c481b',
    950: '#000000',
  },
}
SCSS
$custom: #4c481b;
$custom-light: #807a59;
$custom-dark: #000000;
JSON
{
  "hex": "#4c481b",
  "rgb": {
    "r": 76,
    "g": 72,
    "b": 27
  },
  "hsl": {
    "h": 55.102,
    "s": 47.573,
    "l": 20.196
  },
  "oklch": {
    "l": 0.39511,
    "c": 0.06435,
    "h": 104.2
  },
  "luminance": 0.0625
}

Semantic roles & 50–950 ramp

primary
#4C481B
secondary
#414682
accent
#5CD751
background
#F7F7F5
surface
#EEEDE9
border
#C9C8C5
text
#0A0903
muted
#7C7B78

Preview Lab

Preview with #4C481B

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

Preview Lab → · Contrast checker → · Palette generator →

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