#4F4816#4F4816

#4F4816 is a dark, moderate yellow. Relative luminance 0.064; OKLCH L 39.8% C 0.069 H 101.3°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#4F4816
RGBrgb(79, 72, 22)
HSLhsl(53, 56%, 20%)
HSVhsv(53, 72%, 31%)
CMYKcmyk(0%, 8.9%, 72.2%, 69%)
CIE-LABlab(30.29, -3.97, 29.96)
CIE-LCHlch(30.29, 30.23, 97.55°)
OKLaboklab(39.77% -0.0135 0.0677)
OKLCHoklch(39.77% 0.069 101.3)
XYZxyz(5.6869, 6.3552, 1.6860)
Luminance0.0635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4816 #161D4F
analogous
#4F2C16 #4F4816 #394F16
triadic
#4F4816 #164F48 #48164F
tetradic
#4F4816 #164F2C #161D4F #4F1639
square
#4F4816 #164F2C #161D4F #4F1639
split-complementary
#4F4816 #16394F #2C164F
monochromatic
#181607 #1F1C09 #4F4816 #7F7423 #AF9F31

Accessibility & contrast

On white

9.25
#4F4816 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#4F4816 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4816
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4816#FFFFFF#000000##FFFFFF
##4F48161.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4610
Deuteranopia (green-blind)
#514919
Tritanopia (blue-blind)
#55433E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4f4816;
/* rgb */ color: rgb(79, 72, 22);
/* oklch */ color: oklch(39.8% 0.069 101.3);
Tailwind
colors: {
  custom: {
    50: '#827a56',
    500: '#4f4816',
    950: '#000000',
  },
}
SCSS
$custom: #4f4816;
$custom-light: #827a56;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4816",
  "rgb": {
    "r": 79,
    "g": 72,
    "b": 22
  },
  "hsl": {
    "h": 52.632,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39771,
    "c": 0.06906,
    "h": 101.3
  },
  "luminance": 0.06355
}

Semantic roles & 50–950 ramp

primary
#4F4816
secondary
#3A4486
accent
#5BE048
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4F4816

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

Preview Lab → · Contrast checker → · Palette generator →

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