#4D4512#4D4512

#4D4512 is a dark, moderate yellow. Relative luminance 0.059; OKLCH L 38.8% C 0.069 H 100.2°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#4D4512
RGBrgb(77, 69, 18)
HSLhsl(52, 62%, 19%)
HSVhsv(52, 77%, 30%)
CMYKcmyk(0%, 10.4%, 76.6%, 69.8%)
CIE-LABlab(29.10, -3.41, 30.60)
CIE-LCHlch(29.10, 30.79, 96.35°)
OKLaboklab(38.77% -0.0123 0.0684)
OKLCHoklch(38.77% 0.069 100.2)
XYZxyz(5.2981, 5.8779, 1.4276)
Luminance0.0588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4512 #121A4D
analogous
#4D2712 #4D4512 #374D12
triadic
#4D4512 #124D45 #45124D
tetradic
#4D4512 #124D27 #121A4D #4D1237
square
#4D4512 #124D27 #121A4D #4D1237
split-complementary
#4D4512 #12374D #27124D
monochromatic
#191606 #1B1906 #4D4512 #7F711E #B09E29

Accessibility & contrast

On white

9.65
#4D4512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4D4512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4512
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4512#FFFFFF#000000##FFFFFF
##4D45121.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C430B
Deuteranopia (green-blind)
#4E4615
Tritanopia (blue-blind)
#533F3B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4d4512;
/* rgb */ color: rgb(77, 69, 18);
/* oklch */ color: oklch(38.8% 0.069 100.2);
Tailwind
colors: {
  custom: {
    50: '#817853',
    500: '#4d4512',
    950: '#000000',
  },
}
SCSS
$custom: #4d4512;
$custom-light: #817853;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4512",
  "rgb": {
    "r": 77,
    "g": 69,
    "b": 18
  },
  "hsl": {
    "h": 51.864,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38766,
    "c": 0.06946,
    "h": 100.2
  },
  "luminance": 0.05878
}

Semantic roles & 50–950 ramp

primary
#4D4512
secondary
#354086
accent
#59E543
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0803
muted
#7C7B78

Preview Lab

Preview with #4D4512

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

Preview Lab → · Contrast checker → · Palette generator →

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