#4C4010#4C4010

#4C4010 is a dark, moderate yellow. Relative luminance 0.052; OKLCH L 37.4% C 0.067 H 94.7°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#4C4010
RGBrgb(76, 64, 16)
HSLhsl(48, 65%, 18%)
HSVhsv(48, 79%, 30%)
CMYKcmyk(0%, 15.8%, 78.9%, 70.2%)
CIE-LABlab(27.41, -0.93, 29.81)
CIE-LCHlch(27.41, 29.82, 91.78°)
OKLaboklab(37.39% -0.0054 0.0663)
OKLCHoklch(37.39% 0.067 94.7)
XYZxyz(4.9077, 5.2410, 1.2432)
Luminance0.0524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4010 #101C4C
analogous
#4C2210 #4C4010 #3A4C10
triadic
#4C4010 #104C40 #40104C
tetradic
#4C4010 #104C22 #101C4C #4C103A
square
#4C4010 #104C22 #101C4C #4C103A
split-complementary
#4C4010 #103A4C #22104C
monochromatic
#191505 #191505 #4C4010 #7F6B1B #B19525

Accessibility & contrast

On white

10.25
#4C4010 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4C4010 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4010
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4010#FFFFFF#000000##FFFFFF
##4C40101.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F09
Deuteranopia (green-blind)
#4B4213
Tritanopia (blue-blind)
#533A36
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4c4010;
/* rgb */ color: rgb(76, 64, 16);
/* oklch */ color: oklch(37.4% 0.067 94.7);
Tailwind
colors: {
  custom: {
    50: '#817452',
    500: '#4c4010',
    950: '#000000',
  },
}
SCSS
$custom: #4c4010;
$custom-light: #817452;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4010",
  "rgb": {
    "r": 76,
    "g": 64,
    "b": 16
  },
  "hsl": {
    "h": 48,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37394,
    "c": 0.06652,
    "h": 94.7
  },
  "luminance": 0.05241
}

Semantic roles & 50–950 ramp

primary
#4C4010
secondary
#324386
accent
#61E840
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #4C4010

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

Preview Lab → · Contrast checker → · Palette generator →

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