#4D4C0D#4D4C0D

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

Color values

HEX#4D4C0D
RGBrgb(77, 76, 13)
HSLhsl(59, 71%, 18%)
HSVhsv(59, 83%, 30%)
CMYKcmyk(0%, 1.3%, 83.1%, 69.8%)
CIE-LABlab(31.29, -7.93, 34.82)
CIE-LCHlch(31.29, 35.71, 102.82°)
OKLaboklab(40.5% -0.0256 0.0762)
OKLCHoklch(40.5% 0.08 108.6)
XYZxyz(5.7179, 6.7759, 1.3874)
Luminance0.0678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4C0D #0D0E4D
analogous
#4D2C0D #4D4C0D #2E4D0D
triadic
#4D4C0D #0D4D4C #4C0D4D
tetradic
#4D4C0D #0D4D2C #0D0E4D #4D0D2E
square
#4D4C0D #0D4D2C #0D0E4D #4D0D2E
split-complementary
#4D4C0D #0D2E4D #2C0D4D
monochromatic
#1A1A04 #1A1A04 #4D4C0D #818016 #B6B31F

Accessibility & contrast

On white

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

On black

2.36
#4D4C0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4D4C0D#FFFFFF#000000##FFFFFF
##4D4C0D1.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d4c0d;
/* rgb */ color: rgb(77, 76, 13);
/* oklch */ color: oklch(40.5% 0.080 108.6);
Tailwind
colors: {
  custom: {
    50: '#817d52',
    500: '#4d4c0d',
    950: '#000000',
  },
}
SCSS
$custom: #4d4c0d;
$custom-light: #817d52;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4c0d",
  "rgb": {
    "r": 77,
    "g": 76,
    "b": 13
  },
  "hsl": {
    "h": 59.063,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.40496,
    "c": 0.08042,
    "h": 108.6
  },
  "luminance": 0.06776
}

Semantic roles & 50–950 ramp

primary
#4D4C0D
secondary
#2E2F88
accent
#3DEE3A
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4D4C0D

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

Preview Lab → · Contrast checker → · Palette generator →

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