#4C4C0D#4C4C0D

#4C4C0D is a dark, moderate yellow. Relative luminance 0.067; OKLCH L 40.4% C 0.081 H 109.5°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#4C4C0D
RGBrgb(76, 76, 13)
HSLhsl(60, 71%, 17%)
HSVhsv(60, 83%, 30%)
CMYKcmyk(0%, 0%, 82.9%, 70.2%)
CIE-LABlab(31.19, -8.43, 34.70)
CIE-LCHlch(31.19, 35.71, 103.65°)
OKLaboklab(40.4% -0.0269 0.076)
OKLCHoklch(40.4% 0.081 109.5)
XYZxyz(5.6378, 6.7346, 1.3836)
Luminance0.0673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4C0D #0D0D4C
analogous
#4C2D0D #4C4C0D #2D4C0D
triadic
#4C4C0D #0D4C4C #4C0D4C
tetradic
#4C4C0D #0D4C2D #0D0D4C #4C0D2D
square
#4C4C0D #0D4C2D #0D0D4C #4C0D2D
split-complementary
#4C4C0D #0D2D4C #2D0D4C
monochromatic
#1A1A04 #1A1A04 #4C4C0D #808016 #B5B51F

Accessibility & contrast

On white

8.95
#4C4C0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#4C4C0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4C0D
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4C0D#FFFFFF#000000##FFFFFF
##4C4C0D1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534802
Deuteranopia (green-blind)
#544A12
Tritanopia (blue-blind)
#524740
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4c4c0d;
/* rgb */ color: rgb(76, 76, 13);
/* oklch */ color: oklch(40.4% 0.081 109.5);
Tailwind
colors: {
  custom: {
    50: '#817d52',
    500: '#4c4c0d',
    950: '#000000',
  },
}
SCSS
$custom: #4c4c0d;
$custom-light: #817d52;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4c0d",
  "rgb": {
    "r": 76,
    "g": 76,
    "b": 13
  },
  "hsl": {
    "h": 60,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.40396,
    "c": 0.08065,
    "h": 109.5
  },
  "luminance": 0.06734
}

Semantic roles & 50–950 ramp

primary
#4C4C0D
secondary
#2E2E87
accent
#3AEE3A
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4C4C0D

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

Preview Lab → · Contrast checker → · Palette generator →

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