#4F4716#4F4716

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

Color values

HEX#4F4716
RGBrgb(79, 71, 22)
HSLhsl(52, 56%, 20%)
HSVhsv(52, 72%, 31%)
CMYKcmyk(0%, 10.1%, 72.2%, 69%)
CIE-LABlab(29.98, -3.36, 29.63)
CIE-LCHlch(29.98, 29.82, 96.46°)
OKLaboklab(39.52% -0.0118 0.067)
OKLCHoklch(39.52% 0.068 100)
XYZxyz(5.6227, 6.2269, 1.6646)
Luminance0.0623 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4716 #161E4F
analogous
#4F2B16 #4F4716 #3B4F16
triadic
#4F4716 #164F47 #47164F
tetradic
#4F4716 #164F2B #161E4F #4F163B
square
#4F4716 #164F2B #161E4F #4F163B
split-complementary
#4F4716 #163B4F #2B164F
monochromatic
#181607 #1F1C09 #4F4716 #7F7223 #AF9D31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F4716#FFFFFF#000000##FFFFFF
##4F47161.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)
#4E4510
Deuteranopia (green-blind)
#504819
Tritanopia (blue-blind)
#55423D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4f4716;
/* rgb */ color: rgb(79, 71, 22);
/* oklch */ color: oklch(39.5% 0.068 100.0);
Tailwind
colors: {
  custom: {
    50: '#827a56',
    500: '#4f4716',
    950: '#000000',
  },
}
SCSS
$custom: #4f4716;
$custom-light: #827a56;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4716",
  "rgb": {
    "r": 79,
    "g": 71,
    "b": 22
  },
  "hsl": {
    "h": 51.579,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39522,
    "c": 0.06805,
    "h": 100
  },
  "luminance": 0.06227
}

Semantic roles & 50–950 ramp

primary
#4F4716
secondary
#3A4586
accent
#5DE048
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4F4716

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

Preview Lab → · Contrast checker → · Palette generator →

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