#4F4517#4F4517

#4F4517 is a dark, moderate yellow. Relative luminance 0.060; OKLCH L 39.0% C 0.065 H 97.0°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#4F4517
RGBrgb(79, 69, 23)
HSLhsl(49, 55%, 20%)
HSVhsv(49, 71%, 31%)
CMYKcmyk(0%, 12.7%, 70.9%, 69%)
CIE-LABlab(29.36, -2.05, 28.47)
CIE-LCHlch(29.36, 28.55, 94.12°)
OKLaboklab(39.04% -0.0079 0.0648)
OKLCHoklch(39.04% 0.065 97)
XYZxyz(5.5075, 5.9806, 1.6747)
Luminance0.0598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4517 #17214F
analogous
#4F2917 #4F4517 #3D4F17
triadic
#4F4517 #174F45 #45174F
tetradic
#4F4517 #174F29 #17214F #4F173D
square
#4F4517 #174F29 #17214F #4F173D
split-complementary
#4F4517 #173D4F #29174F
monochromatic
#181507 #201C09 #4F4517 #7E6E25 #AE9833

Accessibility & contrast

On white

9.56
#4F4517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4F4517 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4517
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4517#FFFFFF#000000##FFFFFF
##4F45171.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4312
Deuteranopia (green-blind)
#4F4719
Tritanopia (blue-blind)
#56403B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4f4517;
/* rgb */ color: rgb(79, 69, 23);
/* oklch */ color: oklch(39.0% 0.065 97.0);
Tailwind
colors: {
  custom: {
    50: '#827856',
    500: '#4f4517',
    950: '#000000',
  },
}
SCSS
$custom: #4f4517;
$custom-light: #827856;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4517",
  "rgb": {
    "r": 79,
    "g": 69,
    "b": 23
  },
  "hsl": {
    "h": 49.286,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.39038,
    "c": 0.06523,
    "h": 97
  },
  "luminance": 0.0598
}

Semantic roles & 50–950 ramp

primary
#4F4517
secondary
#3C4986
accent
#64DE4A
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0803
muted
#7C7B78

Preview Lab

Preview with #4F4517

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

Preview Lab → · Contrast checker → · Palette generator →

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