#4D501D#4D501D

#4D501D is a dark, moderate yellow. Relative luminance 0.074; OKLCH L 41.7% C 0.072 H 112.3°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#4D501D
RGBrgb(77, 80, 29)
HSLhsl(64, 47%, 21%)
HSVhsv(64, 64%, 31%)
CMYKcmyk(3.7%, 0%, 63.7%, 68.6%)
CIE-LABlab(32.71, -9.21, 28.96)
CIE-LCHlch(32.71, 30.39, 107.64°)
OKLaboklab(41.67% -0.0273 0.0668)
OKLCHoklch(41.67% 0.072 112.3)
XYZxyz(6.1511, 7.4039, 2.2672)
Luminance0.0740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D501D #201D50
analogous
#503A1D #4D501D #34501D
triadic
#4D501D #1D4D50 #501D4D
tetradic
#4D501D #1D503A #201D50 #501D34
square
#4D501D #1D503A #201D50 #501D34
split-complementary
#4D501D #1D3450 #3A1D50
monochromatic
#161608 #22230D #4D501D #787D2D #A3AA3E

Accessibility & contrast

On white

8.47
#4D501D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4D501D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D501D
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D501D#FFFFFF#000000##FFFFFF
##4D501D1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C17
Deuteranopia (green-blind)
#564E20
Tritanopia (blue-blind)
#524B45
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4d501d;
/* rgb */ color: rgb(77, 80, 29);
/* oklch */ color: oklch(41.7% 0.072 112.3);
Tailwind
colors: {
  custom: {
    50: '#80815b',
    500: '#4d501d',
    950: '#000000',
  },
}
SCSS
$custom: #4d501d;
$custom-light: #80815b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d501d",
  "rgb": {
    "r": 77,
    "g": 80,
    "b": 29
  },
  "hsl": {
    "h": 63.529,
    "s": 46.789,
    "l": 21.373
  },
  "oklch": {
    "l": 0.41672,
    "c": 0.07218,
    "h": 112.3
  },
  "luminance": 0.07404
}

Semantic roles & 50–950 ramp

primary
#4D501D
secondary
#474485
accent
#51D659
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4D501D

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

Preview Lab → · Contrast checker → · Palette generator →

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