#4C4813#4C4813

#4C4813 is a dark, moderate yellow. Relative luminance 0.062; OKLCH L 39.4% C 0.072 H 105.0°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#4C4813
RGBrgb(76, 72, 19)
HSLhsl(56, 60%, 19%)
HSVhsv(56, 75%, 30%)
CMYKcmyk(0%, 5.3%, 75%, 70.2%)
CIE-LABlab(29.96, -5.69, 30.96)
CIE-LCHlch(29.96, 31.48, 100.41°)
OKLaboklab(39.42% -0.0186 0.0694)
OKLCHoklch(39.42% 0.072 105)
XYZxyz(5.4156, 6.2184, 1.5310)
Luminance0.0622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4813 #13174C
analogous
#4C2B13 #4C4813 #334C13
triadic
#4C4813 #134C48 #48134C
tetradic
#4C4813 #134C2B #13174C #4C1333
square
#4C4813 #134C2B #13174C #4C1333
split-complementary
#4C4813 #13334C #2B134C
monochromatic
#181706 #1B1A07 #4C4813 #7D761F #AEA52B

Accessibility & contrast

On white

9.36
#4C4813 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#4C4813 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4813
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4813#FFFFFF#000000##FFFFFF
##4C48131.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F450B
Deuteranopia (green-blind)
#504816
Tritanopia (blue-blind)
#52433D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4c4813;
/* rgb */ color: rgb(76, 72, 19);
/* oklch */ color: oklch(39.4% 0.072 105.0);
Tailwind
colors: {
  custom: {
    50: '#807a54',
    500: '#4c4813',
    950: '#000000',
  },
}
SCSS
$custom: #4c4813;
$custom-light: #807a54;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4813",
  "rgb": {
    "r": 76,
    "g": 72,
    "b": 19
  },
  "hsl": {
    "h": 55.789,
    "s": 60,
    "l": 18.627
  },
  "oklch": {
    "l": 0.39423,
    "c": 0.07181,
    "h": 105
  },
  "luminance": 0.06218
}

Semantic roles & 50–950 ramp

primary
#4C4813
secondary
#363C85
accent
#50E345
background
#F8F7F5
surface
#EFEDE8
border
#CAC8C4
text
#0A0903
muted
#7C7B78

Preview Lab

Preview with #4C4813

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

Preview Lab → · Contrast checker → · Palette generator →

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