#4C4811#4C4811

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

Color values

HEX#4C4811
RGBrgb(76, 72, 17)
HSLhsl(56, 63%, 18%)
HSVhsv(56, 78%, 30%)
CMYKcmyk(0%, 5.3%, 77.6%, 70.2%)
CIE-LABlab(29.94, -5.81, 31.86)
CIE-LCHlch(29.94, 32.39, 100.34°)
OKLaboklab(39.41% -0.0192 0.0708)
OKLCHoklch(39.41% 0.073 105.1)
XYZxyz(5.3993, 6.2119, 1.4448)
Luminance0.0621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4811 #11154C
analogous
#4C2A11 #4C4811 #324C11
triadic
#4C4811 #114C48 #48114C
tetradic
#4C4811 #114C2A #11154C #4C1132
square
#4C4811 #114C2A #11154C #4C1132
split-complementary
#4C4811 #11324C #2A114C
monochromatic
#191806 #1A1906 #4C4811 #7E771C #B0A727

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C4811#FFFFFF#000000##FFFFFF
##4C48111.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)
#4F4508
Deuteranopia (green-blind)
#504815
Tritanopia (blue-blind)
#52433D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4c4811;
/* rgb */ color: rgb(76, 72, 17);
/* oklch */ color: oklch(39.4% 0.073 105.1);
Tailwind
colors: {
  custom: {
    50: '#807a53',
    500: '#4c4811',
    950: '#000000',
  },
}
SCSS
$custom: #4c4811;
$custom-light: #807a53;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4811",
  "rgb": {
    "r": 76,
    "g": 72,
    "b": 17
  },
  "hsl": {
    "h": 55.932,
    "s": 63.441,
    "l": 18.235
  },
  "oklch": {
    "l": 0.39405,
    "c": 0.07339,
    "h": 105.1
  },
  "luminance": 0.06212
}

Semantic roles & 50–950 ramp

primary
#4C4811
secondary
#333985
accent
#4DE641
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0A0903
muted
#7C7B78

Preview Lab

Preview with #4C4811

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

Preview Lab → · Contrast checker → · Palette generator →

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