#4F4512#4F4512

#4F4512 is a dark, moderate yellow. Relative luminance 0.060; OKLCH L 39.0% C 0.070 H 97.9°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#4F4512
RGBrgb(79, 69, 18)
HSLhsl(50, 63%, 19%)
HSVhsv(50, 77%, 31%)
CMYKcmyk(0%, 12.7%, 77.2%, 69%)
CIE-LABlab(29.32, -2.39, 30.89)
CIE-LCHlch(29.32, 30.98, 94.42°)
OKLaboklab(38.99% -0.0095 0.0689)
OKLCHoklch(38.99% 0.07 97.9)
XYZxyz(5.4620, 5.9625, 1.4353)
Luminance0.0596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4512 #121C4F
analogous
#4F2712 #4F4512 #3B4F12
triadic
#4F4512 #124F45 #45124F
tetradic
#4F4512 #124F27 #121C4F #4F123B
square
#4F4512 #124F27 #121C4F #4F123B
split-complementary
#4F4512 #123B4F #27124F
monochromatic
#191606 #1D1907 #4F4512 #81711D #B39C29

Accessibility & contrast

On white

9.58
#4F4512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4F4512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4512
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4512#FFFFFF#000000##FFFFFF
##4F45121.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D430B
Deuteranopia (green-blind)
#4F4715
Tritanopia (blue-blind)
#563F3B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4f4512;
/* rgb */ color: rgb(79, 69, 18);
/* oklch */ color: oklch(39.0% 0.070 97.9);
Tailwind
colors: {
  custom: {
    50: '#837853',
    500: '#4f4512',
    950: '#000000',
  },
}
SCSS
$custom: #4f4512;
$custom-light: #837853;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4512",
  "rgb": {
    "r": 79,
    "g": 69,
    "b": 18
  },
  "hsl": {
    "h": 50.164,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38987,
    "c": 0.06954,
    "h": 97.9
  },
  "luminance": 0.05962
}

Semantic roles & 50–950 ramp

primary
#4F4512
secondary
#354288
accent
#5DE642
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0803
muted
#7C7B78

Preview Lab

Preview with #4F4512

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

Preview Lab → · Contrast checker → · Palette generator →

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