#4C4C0B#4C4C0B

#4C4C0B is a dark, moderate yellow. Relative luminance 0.067; OKLCH L 40.4% C 0.082 H 109.6°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#4C4C0B
RGBrgb(76, 76, 11)
HSLhsl(60, 75%, 17%)
HSVhsv(60, 86%, 30%)
CMYKcmyk(0%, 0%, 85.5%, 70.2%)
CIE-LABlab(31.18, -8.52, 35.42)
CIE-LCHlch(31.18, 36.43, 103.53°)
OKLaboklab(40.38% -0.0274 0.0771)
OKLCHoklch(40.38% 0.082 109.6)
XYZxyz(5.6256, 6.7297, 1.3192)
Luminance0.0673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4C0B #0B0B4C
analogous
#4C2C0B #4C4C0B #2C4C0B
triadic
#4C4C0B #0B4C4C #4C0B4C
tetradic
#4C4C0B #0B4C2C #0B0B4C #4C0B2C
square
#4C4C0B #0B4C2C #0B0B4C #4C0B2C
split-complementary
#4C4C0B #0B2C4C #2C0B4C
monochromatic
#1B1B04 #1B1B04 #4C4C0B #818113 #B7B71A

Accessibility & contrast

On white

8.95
#4C4C0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#4C4C0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4C0B
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4C0B#FFFFFF#000000##FFFFFF
##4C4C0B1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534800
Deuteranopia (green-blind)
#544A11
Tritanopia (blue-blind)
#524640
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4c4c0b;
/* rgb */ color: rgb(76, 76, 11);
/* oklch */ color: oklch(40.4% 0.082 109.6);
Tailwind
colors: {
  custom: {
    50: '#817d51',
    500: '#4c4c0b',
    950: '#000000',
  },
}
SCSS
$custom: #4c4c0b;
$custom-light: #817d51;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4c0b",
  "rgb": {
    "r": 76,
    "g": 76,
    "b": 11
  },
  "hsl": {
    "h": 60,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.40383,
    "c": 0.08183,
    "h": 109.6
  },
  "luminance": 0.0673
}

Semantic roles & 50–950 ramp

primary
#4C4C0B
secondary
#2B2B88
accent
#36F136
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4C4C0B

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

Preview Lab → · Contrast checker → · Palette generator →

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