#4C4F0D#4C4F0D

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

Color values

HEX#4C4F0D
RGBrgb(76, 79, 13)
HSLhsl(63, 72%, 18%)
HSVhsv(63, 84%, 31%)
CMYKcmyk(3.8%, 0%, 83.5%, 69%)
CIE-LABlab(32.16, -10.20, 35.59)
CIE-LCHlch(32.16, 37.02, 105.99°)
OKLaboklab(41.17% -0.0319 0.0779)
OKLCHoklch(41.17% 0.084 112.2)
XYZxyz(5.8493, 7.1577, 1.4541)
Luminance0.0716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4F0D #100D4F
analogous
#4F310D #4C4F0D #2B4F0D
triadic
#4C4F0D #0D4C4F #4F0D4C
tetradic
#4C4F0D #0D4F31 #100D4F #4F0D2B
square
#4C4F0D #0D4F31 #100D4F #4F0D2B
split-complementary
#4C4F0D #0D2B4F #310D4F
monochromatic
#191A04 #191A04 #4C4F0D #7F8416 #B1B81E

Accessibility & contrast

On white

8.64
#4C4F0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C4F0D
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4F0D#FFFFFF#000000##FFFFFF
##4C4F0D1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c4f0d;
/* rgb */ color: rgb(76, 79, 13);
/* oklch */ color: oklch(41.2% 0.084 112.2);
Tailwind
colors: {
  custom: {
    50: '#818052',
    500: '#4c4f0d',
    950: '#000000',
  },
}
SCSS
$custom: #4c4f0d;
$custom-light: #818052;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4f0d",
  "rgb": {
    "r": 76,
    "g": 79,
    "b": 13
  },
  "hsl": {
    "h": 62.727,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.41171,
    "c": 0.08416,
    "h": 112.2
  },
  "luminance": 0.07158
}

Semantic roles & 50–950 ramp

primary
#4C4F0D
secondary
#322E8A
accent
#39EE42
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0A02
muted
#7C7C78

Preview Lab

Preview with #4C4F0D

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

Preview Lab → · Contrast checker → · Palette generator →

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