#4C4012#4C4012

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

Color values

HEX#4C4012
RGBrgb(76, 64, 18)
HSLhsl(48, 62%, 18%)
HSVhsv(48, 76%, 30%)
CMYKcmyk(0%, 15.8%, 76.3%, 70.2%)
CIE-LABlab(27.43, -0.80, 28.87)
CIE-LCHlch(27.43, 28.88, 91.60°)
OKLaboklab(37.41% -0.0048 0.0647)
OKLCHoklch(37.41% 0.065 94.2)
XYZxyz(4.9233, 5.2472, 1.3256)
Luminance0.0525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4012 #121E4C
analogous
#4C2312 #4C4012 #3B4C12
triadic
#4C4012 #124C40 #40124C
tetradic
#4C4012 #124C23 #121E4C #4C123B
square
#4C4012 #124C23 #121E4C #4C123B
split-complementary
#4C4012 #123B4C #23124C
monochromatic
#191506 #1B1606 #4C4012 #7D6A1E #AF9329

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C4012#FFFFFF#000000##FFFFFF
##4C40121.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)
#473F0C
Deuteranopia (green-blind)
#4A4214
Tritanopia (blue-blind)
#533A37
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4c4012;
/* rgb */ color: rgb(76, 64, 18);
/* oklch */ color: oklch(37.4% 0.065 94.2);
Tailwind
colors: {
  custom: {
    50: '#807453',
    500: '#4c4012',
    950: '#000000',
  },
}
SCSS
$custom: #4c4012;
$custom-light: #807453;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4012",
  "rgb": {
    "r": 76,
    "g": 64,
    "b": 18
  },
  "hsl": {
    "h": 47.586,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37414,
    "c": 0.06491,
    "h": 94.2
  },
  "luminance": 0.05247
}

Semantic roles & 50–950 ramp

primary
#4C4012
secondary
#354585
accent
#64E543
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0A0802
muted
#7C7B78

Preview Lab

Preview with #4C4012

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

Preview Lab → · Contrast checker → · Palette generator →

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