#4F4617#4F4617

#4F4617 is a dark, moderate yellow. Relative luminance 0.061; OKLCH L 39.3% C 0.066 H 98.4°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#4F4617
RGBrgb(79, 70, 23)
HSLhsl(50, 55%, 20%)
HSVhsv(50, 71%, 31%)
CMYKcmyk(0%, 11.4%, 70.9%, 69%)
CIE-LABlab(29.68, -2.67, 28.81)
CIE-LCHlch(29.68, 28.93, 95.29°)
OKLaboklab(39.28% -0.0097 0.0654)
OKLCHoklch(39.28% 0.066 98.4)
XYZxyz(5.5695, 6.1047, 1.6954)
Luminance0.0610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4617 #17204F
analogous
#4F2A17 #4F4617 #3C4F17
triadic
#4F4617 #174F46 #46174F
tetradic
#4F4617 #174F2A #17204F #4F173C
square
#4F4617 #174F2A #17204F #4F173C
split-complementary
#4F4617 #173C4F #2A174F
monochromatic
#181507 #201C09 #4F4617 #7E7025 #AE9A33

Accessibility & contrast

On white

9.46
#4F4617 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#4F4617 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4617
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4617#FFFFFF#000000##FFFFFF
##4F46171.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4411
Deuteranopia (green-blind)
#504719
Tritanopia (blue-blind)
#55413C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4f4617;
/* rgb */ color: rgb(79, 70, 23);
/* oklch */ color: oklch(39.3% 0.066 98.4);
Tailwind
colors: {
  custom: {
    50: '#827957',
    500: '#4f4617',
    950: '#000000',
  },
}
SCSS
$custom: #4f4617;
$custom-light: #827957;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4617",
  "rgb": {
    "r": 79,
    "g": 70,
    "b": 23
  },
  "hsl": {
    "h": 50.357,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.39285,
    "c": 0.06616,
    "h": 98.4
  },
  "luminance": 0.06104
}

Semantic roles & 50–950 ramp

primary
#4F4617
secondary
#3C4886
accent
#61DE4A
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4F4617

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

Preview Lab → · Contrast checker → · Palette generator →

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