#4D420E#4D420E

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

Color values

HEX#4D420E
RGBrgb(77, 66, 14)
HSLhsl(50, 69%, 18%)
HSVhsv(50, 82%, 30%)
CMYKcmyk(0%, 14.3%, 81.8%, 69.8%)
CIE-LABlab(28.13, -1.78, 31.45)
CIE-LCHlch(28.13, 31.50, 93.23°)
OKLaboklab(37.99% -0.0082 0.0693)
OKLCHoklch(37.99% 0.07 96.7)
XYZxyz(5.0883, 5.5062, 1.2102)
Luminance0.0551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D420E #0E194D
analogous
#4D220E #4D420E #384D0E
triadic
#4D420E #0E4D42 #420E4D
tetradic
#4D420E #0E4D22 #0E194D #4D0E38
square
#4D420E #0E4D22 #0E194D #4D0E38
split-complementary
#4D420E #0E384D #220E4D
monochromatic
#1A1605 #1A1605 #4D420E #816E17 #B59B21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D420E#FFFFFF#000000##FFFFFF
##4D420E1.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)
#4A4006
Deuteranopia (green-blind)
#4C4411
Tritanopia (blue-blind)
#543C38
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4d420e;
/* rgb */ color: rgb(77, 66, 14);
/* oklch */ color: oklch(38.0% 0.070 96.7);
Tailwind
colors: {
  custom: {
    50: '#817651',
    500: '#4d420e',
    950: '#000000',
  },
}
SCSS
$custom: #4d420e;
$custom-light: #817651;
$custom-dark: #000000;
JSON
{
  "hex": "#4d420e",
  "rgb": {
    "r": 77,
    "g": 66,
    "b": 14
  },
  "hsl": {
    "h": 49.524,
    "s": 69.231,
    "l": 17.843
  },
  "oklch": {
    "l": 0.37986,
    "c": 0.06977,
    "h": 96.7
  },
  "luminance": 0.05506
}

Semantic roles & 50–950 ramp

primary
#4D420E
secondary
#2F3F88
accent
#5BEC3C
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #4D420E

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

Preview Lab → · Contrast checker → · Palette generator →

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