#4C4D0F#4C4D0F

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

Color values

HEX#4C4D0F
RGBrgb(76, 77, 15)
HSLhsl(61, 67%, 18%)
HSVhsv(61, 81%, 30%)
CMYKcmyk(1.3%, 0%, 80.5%, 69.8%)
CIE-LABlab(31.53, -8.92, 34.24)
CIE-LCHlch(31.53, 35.38, 104.60°)
OKLaboklab(40.67% -0.0281 0.0755)
OKLCHoklch(40.67% 0.081 110.4)
XYZxyz(5.7208, 6.8789, 1.4783)
Luminance0.0688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4D0F #100F4D
analogous
#4D2F0F #4C4D0F #2D4D0F
triadic
#4C4D0F #0F4C4D #4D0F4C
tetradic
#4C4D0F #0F4D2F #100F4D #4D0F2D
square
#4C4D0F #0F4D2F #100F4D #4D0F2D
split-complementary
#4C4D0F #0F2D4D #2F0F4D
monochromatic
#191A05 #191A05 #4C4D0F #7F8019 #B1B323

Accessibility & contrast

On white

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

On black

2.38
#4C4D0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4C4D0F#FFFFFF#000000##FFFFFF
##4C4D0F1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c4d0f;
/* rgb */ color: rgb(76, 77, 15);
/* oklch */ color: oklch(40.7% 0.081 110.4);
Tailwind
colors: {
  custom: {
    50: '#807e53',
    500: '#4c4d0f',
    950: '#000000',
  },
}
SCSS
$custom: #4c4d0f;
$custom-light: #807e53;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4d0f",
  "rgb": {
    "r": 76,
    "g": 77,
    "b": 15
  },
  "hsl": {
    "h": 60.968,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.40668,
    "c": 0.08052,
    "h": 110.4
  },
  "luminance": 0.06879
}

Semantic roles & 50–950 ramp

primary
#4C4D0F
secondary
#323187
accent
#3EEA40
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0A0902
muted
#7C7B78

Preview Lab

Preview with #4C4D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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