#4C4A12#4C4A12

#4C4A12 is a dark, moderate yellow. Relative luminance 0.065; OKLCH L 39.9% C 0.075 H 107.3°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#4C4A12
RGBrgb(76, 74, 18)
HSLhsl(58, 62%, 18%)
HSVhsv(58, 76%, 30%)
CMYKcmyk(0%, 2.6%, 76.3%, 70.2%)
CIE-LABlab(30.59, -6.96, 32.05)
CIE-LCHlch(30.59, 32.80, 102.25°)
OKLaboklab(39.92% -0.0223 0.0715)
OKLCHoklch(39.92% 0.075 107.3)
XYZxyz(5.5387, 6.4779, 1.5308)
Luminance0.0648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4A12 #12144C
analogous
#4C2D12 #4C4A12 #314C12
triadic
#4C4A12 #124C4A #4A124C
tetradic
#4C4A12 #124C2D #12144C #4C1231
square
#4C4A12 #124C2D #12144C #4C1231
split-complementary
#4C4A12 #12314C #2D124C
monochromatic
#191806 #1B1A06 #4C4A12 #7D7A1E #AFAA29

Accessibility & contrast

On white

9.15
#4C4A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4C4A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4A12
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4A12#FFFFFF#000000##FFFFFF
##4C4A121.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514709
Deuteranopia (green-blind)
#524916
Tritanopia (blue-blind)
#52453F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4c4a12;
/* rgb */ color: rgb(76, 74, 18);
/* oklch */ color: oklch(39.9% 0.075 107.3);
Tailwind
colors: {
  custom: {
    50: '#807c54',
    500: '#4c4a12',
    950: '#000000',
  },
}
SCSS
$custom: #4c4a12;
$custom-light: #807c54;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4a12",
  "rgb": {
    "r": 76,
    "g": 74,
    "b": 18
  },
  "hsl": {
    "h": 57.931,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.39922,
    "c": 0.07486,
    "h": 107.3
  },
  "luminance": 0.06478
}

Semantic roles & 50–950 ramp

primary
#4C4A12
secondary
#353885
accent
#49E543
background
#F8F7F4
surface
#EFEEE8
border
#CAC9C4
text
#0A0903
muted
#7C7B78

Preview Lab

Preview with #4C4A12

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

Preview Lab → · Contrast checker → · Palette generator →

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