#4D4C0C#4D4C0C

#4D4C0C is a dark, moderate yellow. Relative luminance 0.068; OKLCH L 40.5% C 0.081 H 108.6°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#4D4C0C
RGBrgb(77, 76, 12)
HSLhsl(59, 73%, 17%)
HSVhsv(59, 84%, 30%)
CMYKcmyk(0%, 1.3%, 84.4%, 69.8%)
CIE-LABlab(31.29, -7.97, 35.19)
CIE-LCHlch(31.29, 36.08, 102.77°)
OKLaboklab(40.49% -0.0258 0.0768)
OKLCHoklch(40.49% 0.081 108.6)
XYZxyz(5.7116, 6.7734, 1.3543)
Luminance0.0677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4C0C #0C0D4D
analogous
#4D2C0C #4D4C0C #2D4D0C
triadic
#4D4C0C #0C4D4C #4C0C4D
tetradic
#4D4C0C #0C4D2C #0C0D4D #4D0C2D
square
#4D4C0C #0C4D2C #0C0D4D #4D0C2D
split-complementary
#4D4C0C #0C2D4D #2C0C4D
monochromatic
#1A1A04 #1A1A04 #4D4C0C #828014 #B7B51D

Accessibility & contrast

On white

8.92
#4D4C0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D4C0C
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4C0C#FFFFFF#000000##FFFFFF
##4D4C0C1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534800
Deuteranopia (green-blind)
#544B11
Tritanopia (blue-blind)
#534640
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4d4c0c;
/* rgb */ color: rgb(77, 76, 12);
/* oklch */ color: oklch(40.5% 0.081 108.6);
Tailwind
colors: {
  custom: {
    50: '#817d51',
    500: '#4d4c0c',
    950: '#000000',
  },
}
SCSS
$custom: #4d4c0c;
$custom-light: #817d51;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4c0c",
  "rgb": {
    "r": 77,
    "g": 76,
    "b": 12
  },
  "hsl": {
    "h": 59.077,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.4049,
    "c": 0.08102,
    "h": 108.6
  },
  "luminance": 0.06773
}

Semantic roles & 50–950 ramp

primary
#4D4C0C
secondary
#2C2E89
accent
#3BF038
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4D4C0C

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

Preview Lab → · Contrast checker → · Palette generator →

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