#4F460C#4F460C

#4F460C is a dark, moderate yellow. Relative luminance 0.061; OKLCH L 39.2% C 0.075 H 100.0°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#4F460C
RGBrgb(79, 70, 12)
HSLhsl(52, 74%, 18%)
HSVhsv(52, 85%, 31%)
CMYKcmyk(0%, 11.4%, 84.8%, 69%)
CIE-LABlab(29.59, -3.32, 33.72)
CIE-LCHlch(29.59, 33.88, 95.63°)
OKLaboklab(39.19% -0.0129 0.0736)
OKLCHoklch(39.19% 0.075 100)
XYZxyz(5.4812, 6.0694, 1.2306)
Luminance0.0607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F460C #0C154F
analogous
#4F240C #4F460C #364F0C
triadic
#4F460C #0C4F46 #460C4F
tetradic
#4F460C #0C4F24 #0C154F #4F0C36
square
#4F460C #0C4F24 #0C154F #4F0C36
split-complementary
#4F460C #0C364F #240C4F
monochromatic
#1B1804 #1B1804 #4F460C #847514 #B9A41C

Accessibility & contrast

On white

9.49
#4F460C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4F460C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F460C
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F460C#FFFFFF#000000##FFFFFF
##4F460C1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4402
Deuteranopia (green-blind)
#504710
Tritanopia (blue-blind)
#56403B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4f460c;
/* rgb */ color: rgb(79, 70, 12);
/* oklch */ color: oklch(39.2% 0.075 100.0);
Tailwind
colors: {
  custom: {
    50: '#837950',
    500: '#4f460c',
    950: '#000000',
  },
}
SCSS
$custom: #4f460c;
$custom-light: #837950;
$custom-dark: #000000;
JSON
{
  "hex": "#4f460c",
  "rgb": {
    "r": 79,
    "g": 70,
    "b": 12
  },
  "hsl": {
    "h": 51.94,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.39187,
    "c": 0.07467,
    "h": 100
  },
  "luminance": 0.06069
}

Semantic roles & 50–950 ramp

primary
#4F460C
secondary
#2C398B
accent
#50F038
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4F460C

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

Preview Lab → · Contrast checker → · Palette generator →

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