#4C4C0F#4C4C0F

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

Color values

HEX#4C4C0F
RGBrgb(76, 76, 15)
HSLhsl(60, 67%, 18%)
HSVhsv(60, 80%, 30%)
CMYKcmyk(0%, 0%, 80.3%, 70.2%)
CIE-LABlab(31.21, -8.33, 33.93)
CIE-LCHlch(31.21, 34.94, 103.79°)
OKLaboklab(40.41% -0.0265 0.0748)
OKLCHoklch(40.41% 0.079 109.5)
XYZxyz(5.6514, 6.7400, 1.4551)
Luminance0.0674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4C0F #0F0F4C
analogous
#4C2D0F #4C4C0F #2D4C0F
triadic
#4C4C0F #0F4C4C #4C0F4C
tetradic
#4C4C0F #0F4C2D #0F0F4C #4C0F2D
square
#4C4C0F #0F4C2D #0F0F4C #4C0F2D
split-complementary
#4C4C0F #0F2D4C #2D0F4C
monochromatic
#1A1A05 #1A1A05 #4C4C0F #7F7F19 #B2B223

Accessibility & contrast

On white

8.94
#4C4C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C4C0F
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4C0F#FFFFFF#000000##FFFFFF
##4C4C0F1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534804
Deuteranopia (green-blind)
#544A14
Tritanopia (blue-blind)
#524740
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4c4c0f;
/* rgb */ color: rgb(76, 76, 15);
/* oklch */ color: oklch(40.4% 0.079 109.5);
Tailwind
colors: {
  custom: {
    50: '#807d53',
    500: '#4c4c0f',
    950: '#000000',
  },
}
SCSS
$custom: #4c4c0f;
$custom-light: #807d53;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4c0f",
  "rgb": {
    "r": 76,
    "g": 76,
    "b": 15
  },
  "hsl": {
    "h": 60,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.4041,
    "c": 0.07934,
    "h": 109.5
  },
  "luminance": 0.0674
}

Semantic roles & 50–950 ramp

primary
#4C4C0F
secondary
#313186
accent
#3EEA3E
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0A0902
muted
#7C7B78

Preview Lab

Preview with #4C4C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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