#4F4D16#4F4D16

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

Color values

HEX#4F4D16
RGBrgb(79, 77, 22)
HSLhsl(58, 56%, 20%)
HSVhsv(58, 72%, 31%)
CMYKcmyk(0%, 2.5%, 72.2%, 69%)
CIE-LABlab(31.87, -7.00, 31.60)
CIE-LCHlch(31.87, 32.37, 102.48°)
OKLaboklab(41.03% -0.0221 0.0712)
OKLCHoklch(41.03% 0.075 107.2)
XYZxyz(6.0234, 7.0281, 1.7982)
Luminance0.0703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4D16 #16184F
analogous
#4F3116 #4F4D16 #344F16
triadic
#4F4D16 #164F4D #4D164F
tetradic
#4F4D16 #164F31 #16184F #4F1634
square
#4F4D16 #164F31 #16184F #4F1634
split-complementary
#4F4D16 #16344F #31164F
monochromatic
#181707 #1F1E09 #4F4D16 #7F7C23 #AFAA31

Accessibility & contrast

On white

8.73
#4F4D16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4F4D16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4D16
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4D16#FFFFFF#000000##FFFFFF
##4F4D161.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A0E
Deuteranopia (green-blind)
#554C1A
Tritanopia (blue-blind)
#554842
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4f4d16;
/* rgb */ color: rgb(79, 77, 22);
/* oklch */ color: oklch(41.0% 0.075 107.2);
Tailwind
colors: {
  custom: {
    50: '#827e57',
    500: '#4f4d16',
    950: '#000000',
  },
}
SCSS
$custom: #4f4d16;
$custom-light: #827e57;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4d16",
  "rgb": {
    "r": 79,
    "g": 77,
    "b": 22
  },
  "hsl": {
    "h": 57.895,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.41027,
    "c": 0.07453,
    "h": 107.2
  },
  "luminance": 0.07028
}

Semantic roles & 50–950 ramp

primary
#4F4D16
secondary
#3A3D86
accent
#4DE048
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4F4D16

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

Preview Lab → · Contrast checker → · Palette generator →

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