#4F501F#4F501F

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

Color values

HEX#4F501F
RGBrgb(79, 80, 31)
HSLhsl(61, 44%, 22%)
HSVhsv(61, 61%, 31%)
CMYKcmyk(1.2%, 0%, 61.2%, 68.6%)
CIE-LABlab(32.92, -8.06, 28.19)
CIE-LCHlch(32.92, 29.32, 105.96°)
OKLaboklab(41.89% -0.024 0.0654)
OKLCHoklch(41.89% 0.07 110.1)
XYZxyz(6.3406, 7.4987, 2.4094)
Luminance0.0750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F501F #201F50
analogous
#50391F #4F501F #37501F
triadic
#4F501F #1F4F50 #501F4F
tetradic
#4F501F #1F5039 #201F50 #501F37
square
#4F501F #1F5039 #201F50 #501F37
split-complementary
#4F501F #1F3750 #391F50
monochromatic
#161609 #23240E #4F501F #7B7C30 #A6A841

Accessibility & contrast

On white

8.40
#4F501F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F501F
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F501F#FFFFFF#000000##FFFFFF
##4F501F1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564D1A
Deuteranopia (green-blind)
#574E22
Tritanopia (blue-blind)
#544B45
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4f501f;
/* rgb */ color: rgb(79, 80, 31);
/* oklch */ color: oklch(41.9% 0.070 110.1);
Tailwind
colors: {
  custom: {
    50: '#82805d',
    500: '#4f501f',
    950: '#000000',
  },
}
SCSS
$custom: #4f501f;
$custom-light: #82805d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f501f",
  "rgb": {
    "r": 79,
    "g": 80,
    "b": 31
  },
  "hsl": {
    "h": 61.224,
    "s": 44.144,
    "l": 21.765
  },
  "oklch": {
    "l": 0.4189,
    "c": 0.06965,
    "h": 110.1
  },
  "luminance": 0.07499
}

Semantic roles & 50–950 ramp

primary
#4F501F
secondary
#474685
accent
#54D457
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #4F501F

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

Preview Lab → · Contrast checker → · Palette generator →

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