#4C4D0D#4C4D0D

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

Color values

HEX#4C4D0D
RGBrgb(76, 77, 13)
HSLhsl(61, 71%, 18%)
HSVhsv(61, 83%, 30%)
CMYKcmyk(1.3%, 0%, 83.1%, 69.8%)
CIE-LABlab(31.52, -9.02, 35.00)
CIE-LCHlch(31.52, 36.14, 104.46°)
OKLaboklab(40.65% -0.0286 0.0766)
OKLCHoklch(40.65% 0.082 110.5)
XYZxyz(5.7072, 6.8735, 1.4068)
Luminance0.0687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4D0D #0E0D4D
analogous
#4D2E0D #4C4D0D #2C4D0D
triadic
#4C4D0D #0D4C4D #4D0D4C
tetradic
#4C4D0D #0D4D2E #0E0D4D #4D0D2C
square
#4C4D0D #0D4D2E #0E0D4D #4D0D2C
split-complementary
#4C4D0D #0D2C4D #2E0D4D
monochromatic
#1A1A04 #1A1A04 #4C4D0D #808116 #B3B61F

Accessibility & contrast

On white

8.84
#4C4D0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C4D0D
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4D0D#FFFFFF#000000##FFFFFF
##4C4D0D1.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c4d0d;
/* rgb */ color: rgb(76, 77, 13);
/* oklch */ color: oklch(40.7% 0.082 110.5);
Tailwind
colors: {
  custom: {
    50: '#817e52',
    500: '#4c4d0d',
    950: '#000000',
  },
}
SCSS
$custom: #4c4d0d;
$custom-light: #817e52;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4d0d",
  "rgb": {
    "r": 76,
    "g": 77,
    "b": 13
  },
  "hsl": {
    "h": 60.938,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.40654,
    "c": 0.0818,
    "h": 110.5
  },
  "luminance": 0.06873
}

Semantic roles & 50–950 ramp

primary
#4C4D0D
secondary
#2F2E88
accent
#3AEE3D
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4C4D0D

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

Preview Lab → · Contrast checker → · Palette generator →

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