#4F4E1C#4F4E1C

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

Color values

HEX#4F4E1C
RGBrgb(79, 78, 28)
HSLhsl(59, 48%, 21%)
HSVhsv(59, 65%, 31%)
CMYKcmyk(0%, 1.3%, 64.6%, 69%)
CIE-LABlab(32.25, -7.14, 29.02)
CIE-LCHlch(32.25, 29.88, 103.82°)
OKLaboklab(41.35% -0.0217 0.0667)
OKLCHoklch(41.35% 0.07 108)
XYZxyz(6.1586, 7.1951, 2.1628)
Luminance0.0720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4E1C #1C1D4F
analogous
#4F341C #4F4E1C #364F1C
triadic
#4F4E1C #1C4F4E #4E1C4F
tetradic
#4F4E1C #1C4F34 #1C1D4F #4F1C36
square
#4F4E1C #1C4F34 #1C1D4F #4F1C36
split-complementary
#4F4E1C #1C364F #341C4F
monochromatic
#171608 #22210C #4F4E1C #7C7B2C #A9A73C

Accessibility & contrast

On white

8.61
#4F4E1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4F4E1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4E1C
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4E1C#FFFFFF#000000##FFFFFF
##4F4E1C1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544B16
Deuteranopia (green-blind)
#554D1F
Tritanopia (blue-blind)
#554943
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4f4e1c;
/* rgb */ color: rgb(79, 78, 28);
/* oklch */ color: oklch(41.3% 0.070 108.0);
Tailwind
colors: {
  custom: {
    50: '#827f5a',
    500: '#4f4e1c',
    950: '#000000',
  },
}
SCSS
$custom: #4f4e1c;
$custom-light: #827f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4e1c",
  "rgb": {
    "r": 79,
    "g": 78,
    "b": 28
  },
  "hsl": {
    "h": 58.824,
    "s": 47.664,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41346,
    "c": 0.07018,
    "h": 108
  },
  "luminance": 0.07195
}

Semantic roles & 50–950 ramp

primary
#4F4E1C
secondary
#424485
accent
#53D751
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #4F4E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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