#4C4F11#4C4F11

#4C4F11 is a dark, moderate yellow. Relative luminance 0.072; OKLCH L 41.2% C 0.082 H 112.2°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#4C4F11
RGBrgb(76, 79, 17)
HSLhsl(63, 65%, 19%)
HSVhsv(63, 78%, 31%)
CMYKcmyk(3.8%, 0%, 78.5%, 69%)
CIE-LABlab(32.19, -9.99, 34.05)
CIE-LCHlch(32.19, 35.49, 106.34°)
OKLaboklab(41.2% -0.0309 0.0755)
OKLCHoklch(41.2% 0.082 112.2)
XYZxyz(5.8778, 7.1691, 1.6043)
Luminance0.0717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4F11 #14114F
analogous
#4F3311 #4C4F11 #2D4F11
triadic
#4C4F11 #114C4F #4F114C
tetradic
#4C4F11 #114F33 #14114F #4F112D
square
#4C4F11 #114F33 #14114F #4F112D
split-complementary
#4C4F11 #112D4F #33114F
monochromatic
#181905 #1C1D06 #4C4F11 #7C811C #ADB427

Accessibility & contrast

On white

8.63
#4C4F11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4C4F11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4F11
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4F11#FFFFFF#000000##FFFFFF
##4C4F111.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B06
Deuteranopia (green-blind)
#564C16
Tritanopia (blue-blind)
#524A43
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4c4f11;
/* rgb */ color: rgb(76, 79, 17);
/* oklch */ color: oklch(41.2% 0.082 112.2);
Tailwind
colors: {
  custom: {
    50: '#808054',
    500: '#4c4f11',
    950: '#000000',
  },
}
SCSS
$custom: #4c4f11;
$custom-light: #808054;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4f11",
  "rgb": {
    "r": 76,
    "g": 79,
    "b": 17
  },
  "hsl": {
    "h": 62.903,
    "s": 64.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.41199,
    "c": 0.08154,
    "h": 112.2
  },
  "luminance": 0.07169
}

Semantic roles & 50–950 ramp

primary
#4C4F11
secondary
#383388
accent
#40E848
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4C4F11

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

Preview Lab → · Contrast checker → · Palette generator →

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