#4C4C0E#4C4C0E

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

Color values

HEX#4C4C0E
RGBrgb(76, 76, 14)
HSLhsl(60, 69%, 18%)
HSVhsv(60, 82%, 30%)
CMYKcmyk(0%, 0%, 81.6%, 70.2%)
CIE-LABlab(31.20, -8.38, 34.32)
CIE-LCHlch(31.20, 35.33, 103.72°)
OKLaboklab(40.4% -0.0267 0.0754)
OKLCHoklch(40.4% 0.08 109.5)
XYZxyz(5.6444, 6.7373, 1.4185)
Luminance0.0674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4C0E #0E0E4C
analogous
#4C2D0E #4C4C0E #2D4C0E
triadic
#4C4C0E #0E4C4C #4C0E4C
tetradic
#4C4C0E #0E4C2D #0E0E4C #4C0E2D
square
#4C4C0E #0E4C2D #0E0E4C #4C0E2D
split-complementary
#4C4C0E #0E2D4C #2D0E4C
monochromatic
#1A1A05 #1A1A05 #4C4C0E #808018 #B3B321

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C4C0E#FFFFFF#000000##FFFFFF
##4C4C0E1.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)
#534803
Deuteranopia (green-blind)
#544A13
Tritanopia (blue-blind)
#524740
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4c4c0e;
/* rgb */ color: rgb(76, 76, 14);
/* oklch */ color: oklch(40.4% 0.080 109.5);
Tailwind
colors: {
  custom: {
    50: '#817d52',
    500: '#4c4c0e',
    950: '#000000',
  },
}
SCSS
$custom: #4c4c0e;
$custom-light: #817d52;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4c0e",
  "rgb": {
    "r": 76,
    "g": 76,
    "b": 14
  },
  "hsl": {
    "h": 60,
    "s": 68.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.40403,
    "c": 0.08001,
    "h": 109.5
  },
  "luminance": 0.06737
}

Semantic roles & 50–950 ramp

primary
#4C4C0E
secondary
#2F2F87
accent
#3CEC3C
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4C4C0E

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

Preview Lab → · Contrast checker → · Palette generator →

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