#4D4C0E#4D4C0E

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

Color values

HEX#4D4C0E
RGBrgb(77, 76, 14)
HSLhsl(59, 69%, 18%)
HSVhsv(59, 82%, 30%)
CMYKcmyk(0%, 1.3%, 81.8%, 69.8%)
CIE-LABlab(31.30, -7.88, 34.45)
CIE-LCHlch(31.30, 35.34, 102.88°)
OKLaboklab(40.5% -0.0254 0.0756)
OKLCHoklch(40.5% 0.08 108.5)
XYZxyz(5.7245, 6.7786, 1.4222)
Luminance0.0678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4C0E #0E0F4D
analogous
#4D2D0E #4D4C0E #2E4D0E
triadic
#4D4C0E #0E4D4C #4C0E4D
tetradic
#4D4C0E #0E4D2D #0E0F4D #4D0E2E
square
#4D4C0E #0E4D2D #0E0F4D #4D0E2E
split-complementary
#4D4C0E #0E2E4D #2D0E4D
monochromatic
#1A1A05 #1A1A05 #4D4C0E #817F17 #B5B221

Accessibility & contrast

On white

8.91
#4D4C0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D4C0E
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4C0E#FFFFFF#000000##FFFFFF
##4D4C0E1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d4c0e;
/* rgb */ color: rgb(77, 76, 14);
/* oklch */ color: oklch(40.5% 0.080 108.5);
Tailwind
colors: {
  custom: {
    50: '#817d52',
    500: '#4d4c0e',
    950: '#000000',
  },
}
SCSS
$custom: #4d4c0e;
$custom-light: #817d52;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4c0e",
  "rgb": {
    "r": 77,
    "g": 76,
    "b": 14
  },
  "hsl": {
    "h": 59.048,
    "s": 69.231,
    "l": 17.843
  },
  "oklch": {
    "l": 0.40503,
    "c": 0.07978,
    "h": 108.5
  },
  "luminance": 0.06778
}

Semantic roles & 50–950 ramp

primary
#4D4C0E
secondary
#2F3188
accent
#3FEC3C
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4D4C0E

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

Preview Lab → · Contrast checker → · Palette generator →

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