#4D4412#4D4412

#4D4412 is a dark, moderate yellow. Relative luminance 0.058; OKLCH L 38.5% C 0.069 H 98.9°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#4D4412
RGBrgb(77, 68, 18)
HSLhsl(51, 62%, 19%)
HSVhsv(51, 77%, 30%)
CMYKcmyk(0%, 11.7%, 76.6%, 69.8%)
CIE-LABlab(28.79, -2.79, 30.28)
CIE-LCHlch(28.79, 30.41, 95.26°)
OKLaboklab(38.52% -0.0105 0.0677)
OKLCHoklch(38.52% 0.069 98.9)
XYZxyz(5.2371, 5.7559, 1.4073)
Luminance0.0576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4412 #121B4D
analogous
#4D2612 #4D4412 #384D12
triadic
#4D4412 #124D44 #44124D
tetradic
#4D4412 #124D26 #121B4D #4D1238
square
#4D4412 #124D26 #121B4D #4D1238
split-complementary
#4D4412 #12384D #26124D
monochromatic
#191606 #1B1806 #4D4412 #7F701E #B09C29

Accessibility & contrast

On white

9.76
#4D4412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4D4412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4412
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4412#FFFFFF#000000##FFFFFF
##4D44121.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B420B
Deuteranopia (green-blind)
#4E4515
Tritanopia (blue-blind)
#543E3A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4d4412;
/* rgb */ color: rgb(77, 68, 18);
/* oklch */ color: oklch(38.5% 0.069 98.9);
Tailwind
colors: {
  custom: {
    50: '#817753',
    500: '#4d4412',
    950: '#000000',
  },
}
SCSS
$custom: #4d4412;
$custom-light: #817753;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4412",
  "rgb": {
    "r": 77,
    "g": 68,
    "b": 18
  },
  "hsl": {
    "h": 50.847,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38516,
    "c": 0.06851,
    "h": 98.9
  },
  "luminance": 0.05756
}

Semantic roles & 50–950 ramp

primary
#4D4412
secondary
#354186
accent
#5BE543
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #4D4412

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

Preview Lab → · Contrast checker → · Palette generator →

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