#4C4909#4C4909

#4C4909 is a dark, moderate yellow. Relative luminance 0.063; OKLCH L 39.6% C 0.080 H 106.7°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#4C4909
RGBrgb(76, 73, 9)
HSLhsl(57, 79%, 17%)
HSVhsv(57, 88%, 30%)
CMYKcmyk(0%, 3.9%, 88.2%, 70.2%)
CIE-LABlab(30.21, -6.81, 35.24)
CIE-LCHlch(30.21, 35.90, 100.94°)
OKLaboklab(39.6% -0.0228 0.0763)
OKLCHoklch(39.6% 0.08 106.7)
XYZxyz(5.4126, 6.3215, 1.1935)
Luminance0.0632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4909 #090C4C
analogous
#4C2809 #4C4909 #2E4C09
triadic
#4C4909 #094C49 #49094C
tetradic
#4C4909 #094C28 #090C4C #4C092E
square
#4C4909 #094C28 #090C4C #4C092E
split-complementary
#4C4909 #092E4C #28094C
monochromatic
#1B1A03 #1B1A03 #4C4909 #837E0F #B9B216

Accessibility & contrast

On white

9.27
#4C4909 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#4C4909 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4909
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4909#FFFFFF#000000##FFFFFF
##4C49091.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504600
Deuteranopia (green-blind)
#51480F
Tritanopia (blue-blind)
#52433D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4c4909;
/* rgb */ color: rgb(76, 73, 9);
/* oklch */ color: oklch(39.6% 0.080 106.7);
Tailwind
colors: {
  custom: {
    50: '#817b4f',
    500: '#4c4909',
    950: '#000000',
  },
}
SCSS
$custom: #4c4909;
$custom-light: #817b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4909",
  "rgb": {
    "r": 76,
    "g": 73,
    "b": 9
  },
  "hsl": {
    "h": 57.313,
    "s": 78.824,
    "l": 16.667
  },
  "oklch": {
    "l": 0.39603,
    "c": 0.07965,
    "h": 106.7
  },
  "luminance": 0.06321
}

Semantic roles & 50–950 ramp

primary
#4C4909
secondary
#282C89
accent
#3BF533
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4C4909

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

Preview Lab → · Contrast checker → · Palette generator →

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