#4C4D0C#4C4D0C

#4C4D0C is a dark, moderate yellow. Relative luminance 0.069; OKLCH L 40.6% C 0.082 H 110.5°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#4C4D0C
RGBrgb(76, 77, 12)
HSLhsl(61, 73%, 17%)
HSVhsv(61, 84%, 30%)
CMYKcmyk(1.3%, 0%, 84.4%, 69.8%)
CIE-LABlab(31.51, -9.07, 35.36)
CIE-LCHlch(31.51, 36.50, 104.39°)
OKLaboklab(40.65% -0.0288 0.0772)
OKLCHoklch(40.65% 0.082 110.5)
XYZxyz(5.7009, 6.8710, 1.3737)
Luminance0.0687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4D0C #0D0C4D
analogous
#4D2D0C #4C4D0C #2C4D0C
triadic
#4C4D0C #0C4C4D #4D0C4C
tetradic
#4C4D0C #0C4D2D #0D0C4D #4D0C2C
square
#4C4D0C #0C4D2D #0D0C4D #4D0C2C
split-complementary
#4C4D0C #0C2C4D #2D0C4D
monochromatic
#1A1A04 #1A1A04 #4C4D0C #808214 #B5B71D

Accessibility & contrast

On white

8.85
#4C4D0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4C4D0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4D0C
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4D0C#FFFFFF#000000##FFFFFF
##4C4D0C1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544900
Deuteranopia (green-blind)
#544B12
Tritanopia (blue-blind)
#524841
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4c4d0c;
/* rgb */ color: rgb(76, 77, 12);
/* oklch */ color: oklch(40.6% 0.082 110.5);
Tailwind
colors: {
  custom: {
    50: '#817e51',
    500: '#4c4d0c',
    950: '#000000',
  },
}
SCSS
$custom: #4c4d0c;
$custom-light: #817e51;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4d0c",
  "rgb": {
    "r": 76,
    "g": 77,
    "b": 12
  },
  "hsl": {
    "h": 60.923,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.40647,
    "c": 0.08241,
    "h": 110.5
  },
  "luminance": 0.06871
}

Semantic roles & 50–950 ramp

primary
#4C4D0C
secondary
#2E2C89
accent
#38F03B
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4C4D0C

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

Preview Lab → · Contrast checker → · Palette generator →

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