#4F4E17#4F4E17

#4F4E17 is a dark, moderate yellow. Relative luminance 0.072; OKLCH L 41.3% C 0.075 H 108.3°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#4F4E17
RGBrgb(79, 78, 23)
HSLhsl(59, 55%, 20%)
HSVhsv(59, 71%, 31%)
CMYKcmyk(0%, 1.3%, 70.9%, 69%)
CIE-LABlab(32.20, -7.52, 31.47)
CIE-LCHlch(32.20, 32.35, 103.44°)
OKLaboklab(41.29% -0.0235 0.0711)
OKLCHoklch(41.29% 0.075 108.3)
XYZxyz(6.1037, 7.1731, 1.8735)
Luminance0.0717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4E17 #17184F
analogous
#4F3217 #4F4E17 #344F17
triadic
#4F4E17 #174F4E #4E174F
tetradic
#4F4E17 #174F32 #17184F #4F1734
square
#4F4E17 #174F32 #17184F #4F1734
split-complementary
#4F4E17 #17344F #32174F
monochromatic
#181707 #201F09 #4F4E17 #7E7D25 #AEAC33

Accessibility & contrast

On white

8.63
#4F4E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4F4E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4E17
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4E17#FFFFFF#000000##FFFFFF
##4F4E171.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B10
Deuteranopia (green-blind)
#564D1B
Tritanopia (blue-blind)
#554943
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4f4e17;
/* rgb */ color: rgb(79, 78, 23);
/* oklch */ color: oklch(41.3% 0.075 108.3);
Tailwind
colors: {
  custom: {
    50: '#827f57',
    500: '#4f4e17',
    950: '#000000',
  },
}
SCSS
$custom: #4f4e17;
$custom-light: #827f57;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4e17",
  "rgb": {
    "r": 79,
    "g": 78,
    "b": 23
  },
  "hsl": {
    "h": 58.929,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.41291,
    "c": 0.07485,
    "h": 108.3
  },
  "luminance": 0.07173
}

Semantic roles & 50–950 ramp

primary
#4F4E17
secondary
#3C3D86
accent
#4CDE4A
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4F4E17

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

Preview Lab → · Contrast checker → · Palette generator →

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