#4F470F#4F470F

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

Color values

HEX#4F470F
RGBrgb(79, 71, 15)
HSLhsl(53, 68%, 18%)
HSVhsv(53, 81%, 31%)
CMYKcmyk(0%, 10.1%, 81%, 69%)
CIE-LABlab(29.92, -3.79, 32.81)
CIE-LCHlch(29.92, 33.03, 96.58°)
OKLaboklab(39.46% -0.0139 0.0723)
OKLCHoklch(39.46% 0.074 100.9)
XYZxyz(5.5642, 6.2035, 1.3562)
Luminance0.0620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F470F #0F174F
analogous
#4F270F #4F470F #374F0F
triadic
#4F470F #0F4F47 #470F4F
tetradic
#4F470F #0F4F27 #0F174F #4F0F37
square
#4F470F #0F4F27 #0F174F #4F0F37
split-complementary
#4F470F #0F374F #270F4F
monochromatic
#1A1705 #1C1905 #4F470F #827519 #B6A323

Accessibility & contrast

On white

9.37
#4F470F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F470F
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F470F#FFFFFF#000000##FFFFFF
##4F470F1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f470f;
/* rgb */ color: rgb(79, 71, 15);
/* oklch */ color: oklch(39.5% 0.074 100.9);
Tailwind
colors: {
  custom: {
    50: '#837952',
    500: '#4f470f',
    950: '#000000',
  },
}
SCSS
$custom: #4f470f;
$custom-light: #837952;
$custom-dark: #000000;
JSON
{
  "hex": "#4f470f",
  "rgb": {
    "r": 79,
    "g": 71,
    "b": 15
  },
  "hsl": {
    "h": 52.5,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.39458,
    "c": 0.07362,
    "h": 100.9
  },
  "luminance": 0.06203
}

Semantic roles & 50–950 ramp

primary
#4F470F
secondary
#313C89
accent
#53EB3D
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4F470F

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

Preview Lab → · Contrast checker → · Palette generator →

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