#4C4809#4C4809

#4C4809 is a dark, moderate yellow. Relative luminance 0.062; OKLCH L 39.3% C 0.079 H 105.6°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#4C4809
RGBrgb(76, 72, 9)
HSLhsl(56, 79%, 17%)
HSVhsv(56, 88%, 30%)
CMYKcmyk(0%, 5.3%, 88.2%, 70.2%)
CIE-LABlab(29.89, -6.21, 34.97)
CIE-LCHlch(29.89, 35.51, 100.07°)
OKLaboklab(39.35% -0.0211 0.0757)
OKLCHoklch(39.35% 0.079 105.6)
XYZxyz(5.3474, 6.1912, 1.1717)
Luminance0.0619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4809 #090D4C
analogous
#4C2709 #4C4809 #2F4C09
triadic
#4C4809 #094C48 #48094C
tetradic
#4C4809 #094C27 #090D4C #4C092F
square
#4C4809 #094C27 #090D4C #4C092F
split-complementary
#4C4809 #092F4C #27094C
monochromatic
#1B1A03 #1B1A03 #4C4809 #837C0F #B9B016

Accessibility & contrast

On white

9.38
#4C4809 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C4809
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4809#FFFFFF#000000##FFFFFF
##4C48091.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4500
Deuteranopia (green-blind)
#51480E
Tritanopia (blue-blind)
#52423D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4c4809;
/* rgb */ color: rgb(76, 72, 9);
/* oklch */ color: oklch(39.3% 0.079 105.6);
Tailwind
colors: {
  custom: {
    50: '#817a4f',
    500: '#4c4809',
    950: '#000000',
  },
}
SCSS
$custom: #4c4809;
$custom-light: #817a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4809",
  "rgb": {
    "r": 76,
    "g": 72,
    "b": 9
  },
  "hsl": {
    "h": 56.418,
    "s": 78.824,
    "l": 16.667
  },
  "oklch": {
    "l": 0.39348,
    "c": 0.0786,
    "h": 105.6
  },
  "luminance": 0.06191
}

Semantic roles & 50–950 ramp

primary
#4C4809
secondary
#282D89
accent
#3EF533
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4C4809

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

Preview Lab → · Contrast checker → · Palette generator →

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