#4F4718#4F4718

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

Color values

HEX#4F4718
RGBrgb(79, 71, 24)
HSLhsl(51, 53%, 20%)
HSVhsv(51, 70%, 31%)
CMYKcmyk(0%, 10.1%, 69.6%, 69%)
CIE-LABlab(30.00, -3.21, 28.64)
CIE-LCHlch(30.00, 28.82, 96.40°)
OKLaboklab(39.54% -0.0111 0.0653)
OKLCHoklch(39.54% 0.066 99.6)
XYZxyz(5.6428, 6.2349, 1.7702)
Luminance0.0624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4718 #18204F
analogous
#4F2C18 #4F4718 #3B4F18
triadic
#4F4718 #184F47 #47184F
tetradic
#4F4718 #184F2C #18204F #4F183B
square
#4F4718 #184F2C #18204F #4F183B
split-complementary
#4F4718 #183B4F #2C184F
monochromatic
#171507 #201D0A #4F4718 #7E7126 #AD9B35

Accessibility & contrast

On white

9.35
#4F4718 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#4F4718 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4718
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4718#FFFFFF#000000##FFFFFF
##4F47181.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4512
Deuteranopia (green-blind)
#50481A
Tritanopia (blue-blind)
#55423D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4f4718;
/* rgb */ color: rgb(79, 71, 24);
/* oklch */ color: oklch(39.5% 0.066 99.6);
Tailwind
colors: {
  custom: {
    50: '#827a57',
    500: '#4f4718',
    950: '#000000',
  },
}
SCSS
$custom: #4f4718;
$custom-light: #827a57;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4718",
  "rgb": {
    "r": 79,
    "g": 71,
    "b": 24
  },
  "hsl": {
    "h": 51.273,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.39544,
    "c": 0.06621,
    "h": 99.6
  },
  "luminance": 0.06235
}

Semantic roles & 50–950 ramp

primary
#4F4718
secondary
#3D4886
accent
#60DD4B
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4F4718

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

Preview Lab → · Contrast checker → · Palette generator →

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