#4F4811#4F4811

#4F4811 is a dark, moderate yellow. Relative luminance 0.063; OKLCH L 39.7% C 0.073 H 101.9°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#4F4811
RGBrgb(79, 72, 17)
HSLhsl(53, 65%, 19%)
HSVhsv(53, 78%, 31%)
CMYKcmyk(0%, 8.9%, 78.5%, 69%)
CIE-LABlab(30.25, -4.29, 32.27)
CIE-LCHlch(30.25, 32.55, 97.57°)
OKLaboklab(39.72% -0.0151 0.0716)
OKLCHoklch(39.72% 0.073 101.9)
XYZxyz(5.6432, 6.3377, 1.4563)
Luminance0.0634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4811 #11184F
analogous
#4F2911 #4F4811 #374F11
triadic
#4F4811 #114F48 #48114F
tetradic
#4F4811 #114F29 #11184F #4F1137
square
#4F4811 #114F29 #11184F #4F1137
split-complementary
#4F4811 #11374F #29114F
monochromatic
#191705 #1D1A06 #4F4811 #81761C #B4A427

Accessibility & contrast

On white

9.26
#4F4811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F4811
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4811#FFFFFF#000000##FFFFFF
##4F48111.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4608
Deuteranopia (green-blind)
#514915
Tritanopia (blue-blind)
#56423D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4f4811;
/* rgb */ color: rgb(79, 72, 17);
/* oklch */ color: oklch(39.7% 0.073 101.9);
Tailwind
colors: {
  custom: {
    50: '#837a53',
    500: '#4f4811',
    950: '#000000',
  },
}
SCSS
$custom: #4f4811;
$custom-light: #837a53;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4811",
  "rgb": {
    "r": 79,
    "g": 72,
    "b": 17
  },
  "hsl": {
    "h": 53.226,
    "s": 64.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.39723,
    "c": 0.07315,
    "h": 101.9
  },
  "luminance": 0.06337
}

Semantic roles & 50–950 ramp

primary
#4F4811
secondary
#333D88
accent
#53E840
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4F4811

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

Preview Lab → · Contrast checker → · Palette generator →

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