#4F4E1B#4F4E1B

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

Color values

HEX#4F4E1B
RGBrgb(79, 78, 27)
HSLhsl(59, 49%, 21%)
HSVhsv(59, 66%, 31%)
CMYKcmyk(0%, 1.3%, 65.8%, 69%)
CIE-LABlab(32.24, -7.22, 29.52)
CIE-LCHlch(32.24, 30.39, 103.74°)
OKLaboklab(41.33% -0.0221 0.0677)
OKLCHoklch(41.33% 0.071 108.1)
XYZxyz(6.1469, 7.1904, 2.1008)
Luminance0.0719 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4E1B #1B1C4F
analogous
#4F341B #4F4E1B #364F1B
triadic
#4F4E1B #1B4F4E #4E1B4F
tetradic
#4F4E1B #1B4F34 #1B1C4F #4F1B36
square
#4F4E1B #1B4F34 #1B1C4F #4F1B36
split-complementary
#4F4E1B #1B364F #341B4F
monochromatic
#171708 #21210B #4F4E1B #7D7B2B #AAA83A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F4E1B#FFFFFF#000000##FFFFFF
##4F4E1B1.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)
#554B15
Deuteranopia (green-blind)
#554D1E
Tritanopia (blue-blind)
#554943
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4f4e1b;
/* rgb */ color: rgb(79, 78, 27);
/* oklch */ color: oklch(41.3% 0.071 108.1);
Tailwind
colors: {
  custom: {
    50: '#827f5a',
    500: '#4f4e1b',
    950: '#000000',
  },
}
SCSS
$custom: #4f4e1b;
$custom-light: #827f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4e1b",
  "rgb": {
    "r": 79,
    "g": 78,
    "b": 27
  },
  "hsl": {
    "h": 58.846,
    "s": 49.057,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41334,
    "c": 0.07117,
    "h": 108.1
  },
  "luminance": 0.0719
}

Semantic roles & 50–950 ramp

primary
#4F4E1B
secondary
#414285
accent
#52D94F
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #4F4E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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