#4C4A0A#4C4A0A

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

Color values

HEX#4C4A0A
RGBrgb(76, 74, 10)
HSLhsl(58, 77%, 17%)
HSVhsv(58, 87%, 30%)
CMYKcmyk(0%, 2.6%, 86.8%, 70.2%)
CIE-LABlab(30.54, -7.37, 35.18)
CIE-LCHlch(30.54, 35.95, 101.84°)
OKLaboklab(39.86% -0.0243 0.0764)
OKLCHoklch(39.86% 0.08 107.6)
XYZxyz(5.4843, 6.4562, 1.2444)
Luminance0.0646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4A0A #0A0C4C
analogous
#4C290A #4C4A0A #2D4C0A
triadic
#4C4A0A #0A4C4A #4A0A4C
tetradic
#4C4A0A #0A4C29 #0A0C4C #4C0A2D
square
#4C4A0A #0A4C29 #0A0C4C #4C0A2D
split-complementary
#4C4A0A #0A2D4C #290A4C
monochromatic
#1B1A04 #1B1A04 #4C4A0A #827F11 #B8B318

Accessibility & contrast

On white

9.17
#4C4A0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#4C4A0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4A0A
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4A0A#FFFFFF#000000##FFFFFF
##4C4A0A1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514700
Deuteranopia (green-blind)
#524910
Tritanopia (blue-blind)
#52443E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4c4a0a;
/* rgb */ color: rgb(76, 74, 10);
/* oklch */ color: oklch(39.9% 0.080 107.6);
Tailwind
colors: {
  custom: {
    50: '#817c50',
    500: '#4c4a0a',
    950: '#000000',
  },
}
SCSS
$custom: #4c4a0a;
$custom-light: #817c50;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4a0a",
  "rgb": {
    "r": 76,
    "g": 74,
    "b": 10
  },
  "hsl": {
    "h": 58.182,
    "s": 76.744,
    "l": 16.863
  },
  "oklch": {
    "l": 0.39864,
    "c": 0.08016,
    "h": 107.6
  },
  "luminance": 0.06456
}

Semantic roles & 50–950 ramp

primary
#4C4A0A
secondary
#292C89
accent
#3AF335
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4C4A0A

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

Preview Lab → · Contrast checker → · Palette generator →

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