#4F4712#4F4712

#4F4712 is a dark, moderate yellow. Relative luminance 0.062; OKLCH L 39.5% C 0.071 H 100.5°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#4F4712
RGBrgb(79, 71, 18)
HSLhsl(52, 63%, 19%)
HSVhsv(52, 77%, 31%)
CMYKcmyk(0%, 10.1%, 77.2%, 69%)
CIE-LABlab(29.94, -3.62, 31.51)
CIE-LCHlch(29.94, 31.72, 96.55°)
OKLaboklab(39.48% -0.013 0.0702)
OKLCHoklch(39.48% 0.071 100.5)
XYZxyz(5.5871, 6.2127, 1.4770)
Luminance0.0621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4712 #121A4F
analogous
#4F2912 #4F4712 #394F12
triadic
#4F4712 #124F47 #47124F
tetradic
#4F4712 #124F29 #121A4F #4F1239
square
#4F4712 #124F29 #121A4F #4F1239
split-complementary
#4F4712 #12394F #29124F
monochromatic
#191606 #1D1A07 #4F4712 #81741D #B3A129

Accessibility & contrast

On white

9.36
#4F4712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#4F4712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4712
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4712#FFFFFF#000000##FFFFFF
##4F47121.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E450A
Deuteranopia (green-blind)
#514815
Tritanopia (blue-blind)
#56413C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4f4712;
/* rgb */ color: rgb(79, 71, 18);
/* oklch */ color: oklch(39.5% 0.071 100.5);
Tailwind
colors: {
  custom: {
    50: '#837954',
    500: '#4f4712',
    950: '#000000',
  },
}
SCSS
$custom: #4f4712;
$custom-light: #837954;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4712",
  "rgb": {
    "r": 79,
    "g": 71,
    "b": 18
  },
  "hsl": {
    "h": 52.131,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39483,
    "c": 0.0714,
    "h": 100.5
  },
  "luminance": 0.06212
}

Semantic roles & 50–950 ramp

primary
#4F4712
secondary
#354088
accent
#57E642
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4F4712

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

Preview Lab → · Contrast checker → · Palette generator →

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