#4F501D#4F501D

#4F501D is a dark, moderate yellow. Relative luminance 0.075; OKLCH L 41.9% C 0.072 H 110.2°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#4F501D
RGBrgb(79, 80, 29)
HSLhsl(61, 47%, 21%)
HSVhsv(61, 64%, 31%)
CMYKcmyk(1.2%, 0%, 63.7%, 68.6%)
CIE-LABlab(32.89, -8.24, 29.22)
CIE-LCHlch(32.89, 30.35, 105.75°)
OKLaboklab(41.87% -0.0247 0.0673)
OKLCHoklch(41.87% 0.072 110.2)
XYZxyz(6.3151, 7.4885, 2.2749)
Luminance0.0749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F501D #1E1D50
analogous
#50381D #4F501D #36501D
triadic
#4F501D #1D4F50 #501D4F
tetradic
#4F501D #1D5038 #1E1D50 #501D36
square
#4F501D #1D5038 #1E1D50 #501D36
split-complementary
#4F501D #1D3650 #381D50
monochromatic
#161608 #23230D #4F501D #7B7D2D #A8AA3E

Accessibility & contrast

On white

8.41
#4F501D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4F501D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F501D
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F501D#FFFFFF#000000##FFFFFF
##4F501D1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564D17
Deuteranopia (green-blind)
#574E20
Tritanopia (blue-blind)
#554B45
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4f501d;
/* rgb */ color: rgb(79, 80, 29);
/* oklch */ color: oklch(41.9% 0.072 110.2);
Tailwind
colors: {
  custom: {
    50: '#82805b',
    500: '#4f501d',
    950: '#000000',
  },
}
SCSS
$custom: #4f501d;
$custom-light: #82805b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f501d",
  "rgb": {
    "r": 79,
    "g": 80,
    "b": 29
  },
  "hsl": {
    "h": 61.176,
    "s": 46.789,
    "l": 21.373
  },
  "oklch": {
    "l": 0.41865,
    "c": 0.0717,
    "h": 110.2
  },
  "luminance": 0.07488
}

Semantic roles & 50–950 ramp

primary
#4F501D
secondary
#454485
accent
#51D654
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #4F501D

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

Preview Lab → · Contrast checker → · Palette generator →

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