#4D420F#4D420F

#4D420F is a dark, moderate yellow. Relative luminance 0.055; OKLCH L 38.0% C 0.069 H 96.6°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#4D420F
RGBrgb(77, 66, 15)
HSLhsl(49, 67%, 18%)
HSVhsv(49, 81%, 30%)
CMYKcmyk(0%, 14.3%, 80.5%, 69.8%)
CIE-LABlab(28.14, -1.72, 31.02)
CIE-LCHlch(28.14, 31.07, 93.18°)
OKLaboklab(37.99% -0.0079 0.0686)
OKLCHoklch(37.99% 0.069 96.6)
XYZxyz(5.0953, 5.5090, 1.2468)
Luminance0.0551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D420F #0F1A4D
analogous
#4D230F #4D420F #394D0F
triadic
#4D420F #0F4D42 #420F4D
tetradic
#4D420F #0F4D23 #0F1A4D #4D0F39
square
#4D420F #0F4D23 #0F1A4D #4D0F39
split-complementary
#4D420F #0F394D #230F4D
monochromatic
#1A1605 #1A1605 #4D420F #806E19 #B39A23

Accessibility & contrast

On white

9.99
#4D420F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4D420F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D420F
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D420F#FFFFFF#000000##FFFFFF
##4D420F1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4007
Deuteranopia (green-blind)
#4C4412
Tritanopia (blue-blind)
#543C38
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4d420f;
/* rgb */ color: rgb(77, 66, 15);
/* oklch */ color: oklch(38.0% 0.069 96.6);
Tailwind
colors: {
  custom: {
    50: '#817651',
    500: '#4d420f',
    950: '#000000',
  },
}
SCSS
$custom: #4d420f;
$custom-light: #817651;
$custom-dark: #000000;
JSON
{
  "hex": "#4d420f",
  "rgb": {
    "r": 77,
    "g": 66,
    "b": 15
  },
  "hsl": {
    "h": 49.355,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37994,
    "c": 0.06905,
    "h": 96.6
  },
  "luminance": 0.05509
}

Semantic roles & 50–950 ramp

primary
#4D420F
secondary
#314087
accent
#5CEA3E
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #4D420F

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

Preview Lab → · Contrast checker → · Palette generator →

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