#4F4D17#4F4D17

#4F4D17 is a dark, moderate yellow. Relative luminance 0.070; OKLCH L 41.0% C 0.074 H 107.2°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#4F4D17
RGBrgb(79, 77, 23)
HSLhsl(58, 55%, 20%)
HSVhsv(58, 71%, 31%)
CMYKcmyk(0%, 2.5%, 70.9%, 69%)
CIE-LABlab(31.88, -6.93, 31.14)
CIE-LCHlch(31.88, 31.90, 102.54°)
OKLaboklab(41.04% -0.0218 0.0704)
OKLCHoklch(41.04% 0.074 107.2)
XYZxyz(6.0332, 7.0321, 1.8500)
Luminance0.0703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4D17 #17194F
analogous
#4F3117 #4F4D17 #354F17
triadic
#4F4D17 #174F4D #4D174F
tetradic
#4F4D17 #174F31 #17194F #4F1735
square
#4F4D17 #174F31 #17194F #4F1735
split-complementary
#4F4D17 #17354F #31174F
monochromatic
#181707 #201F09 #4F4D17 #7E7B25 #AEA933

Accessibility & contrast

On white

8.73
#4F4D17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4F4D17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4D17
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4D17#FFFFFF#000000##FFFFFF
##4F4D171.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A10
Deuteranopia (green-blind)
#554C1A
Tritanopia (blue-blind)
#554842
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4f4d17;
/* rgb */ color: rgb(79, 77, 23);
/* oklch */ color: oklch(41.0% 0.074 107.2);
Tailwind
colors: {
  custom: {
    50: '#827e57',
    500: '#4f4d17',
    950: '#000000',
  },
}
SCSS
$custom: #4f4d17;
$custom-light: #827e57;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4d17",
  "rgb": {
    "r": 79,
    "g": 77,
    "b": 23
  },
  "hsl": {
    "h": 57.857,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.41037,
    "c": 0.07367,
    "h": 107.2
  },
  "luminance": 0.07032
}

Semantic roles & 50–950 ramp

primary
#4F4D17
secondary
#3C3E86
accent
#4FDE4A
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4F4D17

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

Preview Lab → · Contrast checker → · Palette generator →

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