#4C4A0B#4C4A0B

#4C4A0B 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.16:1 contrast (WCAG AA passes).

Color values

HEX#4C4A0B
RGBrgb(76, 74, 11)
HSLhsl(58, 75%, 17%)
HSVhsv(58, 86%, 30%)
CMYKcmyk(0%, 2.6%, 85.5%, 70.2%)
CIE-LABlab(30.54, -7.33, 34.84)
CIE-LCHlch(30.54, 35.60, 101.88°)
OKLaboklab(39.87% -0.0241 0.0759)
OKLCHoklch(39.87% 0.08 107.6)
XYZxyz(5.4899, 6.4584, 1.2740)
Luminance0.0646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4A0B #0B0D4C
analogous
#4C2A0B #4C4A0B #2E4C0B
triadic
#4C4A0B #0B4C4A #4A0B4C
tetradic
#4C4A0B #0B4C2A #0B0D4C #4C0B2E
square
#4C4A0B #0B4C2A #0B0D4C #4C0B2E
split-complementary
#4C4A0B #0B2E4C #2A0B4C
monochromatic
#1B1A04 #1B1A04 #4C4A0B #817E13 #B7B21A

Accessibility & contrast

On white

9.16
#4C4A0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C4A0B
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4A0B#FFFFFF#000000##FFFFFF
##4C4A0B1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.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: #4c4a0b;
/* rgb */ color: rgb(76, 74, 11);
/* oklch */ color: oklch(39.9% 0.080 107.6);
Tailwind
colors: {
  custom: {
    50: '#817c50',
    500: '#4c4a0b',
    950: '#000000',
  },
}
SCSS
$custom: #4c4a0b;
$custom-light: #817c50;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4a0b",
  "rgb": {
    "r": 76,
    "g": 74,
    "b": 11
  },
  "hsl": {
    "h": 58.154,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.3987,
    "c": 0.0796,
    "h": 107.6
  },
  "luminance": 0.06458
}

Semantic roles & 50–950 ramp

primary
#4C4A0B
secondary
#2B2E88
accent
#3CF136
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4C4A0B

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

Preview Lab → · Contrast checker → · Palette generator →

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