#4D501E#4D501E

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

Color values

HEX#4D501E
RGBrgb(77, 80, 30)
HSLhsl(64, 45%, 22%)
HSVhsv(64, 63%, 31%)
CMYKcmyk(3.7%, 0%, 62.5%, 68.6%)
CIE-LABlab(32.72, -9.12, 28.45)
CIE-LCHlch(32.72, 29.87, 107.78°)
OKLaboklab(41.69% -0.027 0.0659)
OKLCHoklch(41.69% 0.071 112.3)
XYZxyz(6.1637, 7.4090, 2.3334)
Luminance0.0741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D501E #211E50
analogous
#503A1E #4D501E #34501E
triadic
#4D501E #1E4D50 #501E4D
tetradic
#4D501E #1E503A #211E50 #501E34
square
#4D501E #1E503A #211E50 #501E34
split-complementary
#4D501E #1E3450 #3A1E50
monochromatic
#151608 #22230D #4D501E #787D2F #A3A93F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D501E#FFFFFF#000000##FFFFFF
##4D501E1.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)
#564C19
Deuteranopia (green-blind)
#564E21
Tritanopia (blue-blind)
#524B45
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4d501e;
/* rgb */ color: rgb(77, 80, 30);
/* oklch */ color: oklch(41.7% 0.071 112.3);
Tailwind
colors: {
  custom: {
    50: '#80815c',
    500: '#4d501e',
    950: '#000000',
  },
}
SCSS
$custom: #4d501e;
$custom-light: #80815c;
$custom-dark: #000000;
JSON
{
  "hex": "#4d501e",
  "rgb": {
    "r": 77,
    "g": 80,
    "b": 30
  },
  "hsl": {
    "h": 63.6,
    "s": 45.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.41685,
    "c": 0.07116,
    "h": 112.3
  },
  "luminance": 0.07409
}

Semantic roles & 50–950 ramp

primary
#4D501E
secondary
#494585
accent
#53D55A
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4D501E

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

Preview Lab → · Contrast checker → · Palette generator →

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