#4C4810#4C4810

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

Color values

HEX#4C4810
RGBrgb(76, 72, 16)
HSLhsl(56, 65%, 18%)
HSVhsv(56, 79%, 30%)
CMYKcmyk(0%, 5.3%, 78.9%, 70.2%)
CIE-LABlab(29.93, -5.87, 32.29)
CIE-LCHlch(29.93, 32.82, 100.31°)
OKLaboklab(39.4% -0.0195 0.0715)
OKLCHoklch(39.4% 0.074 105.2)
XYZxyz(5.3916, 6.2088, 1.4045)
Luminance0.0621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4810 #10144C
analogous
#4C2A10 #4C4810 #324C10
triadic
#4C4810 #104C48 #48104C
tetradic
#4C4810 #104C2A #10144C #4C1032
square
#4C4810 #104C2A #10144C #4C1032
split-complementary
#4C4810 #10324C #2A104C
monochromatic
#191805 #191805 #4C4810 #7F781B #B1A825

Accessibility & contrast

On white

9.37
#4C4810 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C4810
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4810#FFFFFF#000000##FFFFFF
##4C48101.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4507
Deuteranopia (green-blind)
#504814
Tritanopia (blue-blind)
#52433D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4c4810;
/* rgb */ color: rgb(76, 72, 16);
/* oklch */ color: oklch(39.4% 0.074 105.2);
Tailwind
colors: {
  custom: {
    50: '#807a53',
    500: '#4c4810',
    950: '#000000',
  },
}
SCSS
$custom: #4c4810;
$custom-light: #807a53;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4810",
  "rgb": {
    "r": 76,
    "g": 72,
    "b": 16
  },
  "hsl": {
    "h": 56,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.39396,
    "c": 0.07414,
    "h": 105.2
  },
  "luminance": 0.06209
}

Semantic roles & 50–950 ramp

primary
#4C4810
secondary
#323886
accent
#4BE840
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0A0902
muted
#7C7B78

Preview Lab

Preview with #4C4810

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

Preview Lab → · Contrast checker → · Palette generator →

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