#4D501F#4D501F

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

Color values

HEX#4D501F
RGBrgb(77, 80, 31)
HSLhsl(64, 44%, 22%)
HSVhsv(64, 61%, 31%)
CMYKcmyk(3.7%, 0%, 61.2%, 68.6%)
CIE-LABlab(32.73, -9.03, 27.93)
CIE-LCHlch(32.73, 29.35, 107.92°)
OKLaboklab(41.7% -0.0266 0.0649)
OKLCHoklch(41.7% 0.07 112.3)
XYZxyz(6.1767, 7.4142, 2.4018)
Luminance0.0741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D501F #221F50
analogous
#503B1F #4D501F #35501F
triadic
#4D501F #1F4D50 #501F4D
tetradic
#4D501F #1F503B #221F50 #501F35
square
#4D501F #1F503B #221F50 #501F35
split-complementary
#4D501F #1F3550 #3B1F50
monochromatic
#151609 #23240E #4D501F #777C30 #A2A841

Accessibility & contrast

On white

8.46
#4D501F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D501F
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D501F#FFFFFF#000000##FFFFFF
##4D501F1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d501f;
/* rgb */ color: rgb(77, 80, 31);
/* oklch */ color: oklch(41.7% 0.070 112.3);
Tailwind
colors: {
  custom: {
    50: '#80815d',
    500: '#4d501f',
    950: '#000000',
  },
}
SCSS
$custom: #4d501f;
$custom-light: #80815d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d501f",
  "rgb": {
    "r": 77,
    "g": 80,
    "b": 31
  },
  "hsl": {
    "h": 63.673,
    "s": 44.144,
    "l": 21.765
  },
  "oklch": {
    "l": 0.41697,
    "c": 0.07011,
    "h": 112.3
  },
  "luminance": 0.07414
}

Semantic roles & 50–950 ramp

primary
#4D501F
secondary
#4A4685
accent
#54D45C
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4D501F

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

Preview Lab → · Contrast checker → · Palette generator →

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