#4F470C#4F470C

#4F470C is a dark, moderate yellow. Relative luminance 0.062; OKLCH L 39.4% C 0.076 H 101.2°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#4F470C
RGBrgb(79, 71, 12)
HSLhsl(53, 74%, 18%)
HSVhsv(53, 85%, 31%)
CMYKcmyk(0%, 10.1%, 84.8%, 69%)
CIE-LABlab(29.90, -3.93, 34.00)
CIE-LCHlch(29.90, 34.23, 96.60°)
OKLaboklab(39.44% -0.0146 0.0742)
OKLCHoklch(39.44% 0.076 101.2)
XYZxyz(5.5443, 6.1955, 1.2516)
Luminance0.0619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F470C #0C144F
analogous
#4F250C #4F470C #354F0C
triadic
#4F470C #0C4F47 #470C4F
tetradic
#4F470C #0C4F25 #0C144F #4F0C35
square
#4F470C #0C4F25 #0C144F #4F0C35
split-complementary
#4F470C #0C354F #250C4F
monochromatic
#1B1804 #1B1804 #4F470C #847714 #B9A61C

Accessibility & contrast

On white

9.38
#4F470C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F470C
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F470C#FFFFFF#000000##FFFFFF
##4F470C1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f470c;
/* rgb */ color: rgb(79, 71, 12);
/* oklch */ color: oklch(39.4% 0.076 101.2);
Tailwind
colors: {
  custom: {
    50: '#837951',
    500: '#4f470c',
    950: '#000000',
  },
}
SCSS
$custom: #4f470c;
$custom-light: #837951;
$custom-dark: #000000;
JSON
{
  "hex": "#4f470c",
  "rgb": {
    "r": 79,
    "g": 71,
    "b": 12
  },
  "hsl": {
    "h": 52.836,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.39436,
    "c": 0.07559,
    "h": 101.2
  },
  "luminance": 0.06195
}

Semantic roles & 50–950 ramp

primary
#4F470C
secondary
#2C388B
accent
#4EF038
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4F470C

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

Preview Lab → · Contrast checker → · Palette generator →

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