#4F4B0D#4F4B0D

#4F4B0D is a dark, moderate yellow. Relative luminance 0.067; OKLCH L 40.4% C 0.079 H 105.6°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#4F4B0D
RGBrgb(79, 75, 13)
HSLhsl(56, 72%, 18%)
HSVhsv(56, 84%, 31%)
CMYKcmyk(0%, 5.1%, 83.5%, 69%)
CIE-LABlab(31.17, -6.32, 34.78)
CIE-LCHlch(31.17, 35.35, 100.29°)
OKLaboklab(40.45% -0.0212 0.0761)
OKLCHoklch(40.45% 0.079 105.6)
XYZxyz(5.8134, 6.7237, 1.3723)
Luminance0.0672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4B0D #0D114F
analogous
#4F2A0D #4F4B0D #324F0D
triadic
#4F4B0D #0D4F4B #4B0D4F
tetradic
#4F4B0D #0D4F2A #0D114F #4F0D32
square
#4F4B0D #0D4F2A #0D114F #4F0D32
split-complementary
#4F4B0D #0D324F #2A0D4F
monochromatic
#1A1904 #1A1904 #4F4B0D #847D16 #B8AF1E

Accessibility & contrast

On white

8.96
#4F4B0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4F4B0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4B0D
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4B0D#FFFFFF#000000##FFFFFF
##4F4B0D1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524802
Deuteranopia (green-blind)
#544A12
Tritanopia (blue-blind)
#56453F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4f4b0d;
/* rgb */ color: rgb(79, 75, 13);
/* oklch */ color: oklch(40.4% 0.079 105.6);
Tailwind
colors: {
  custom: {
    50: '#837d52',
    500: '#4f4b0d',
    950: '#000000',
  },
}
SCSS
$custom: #4f4b0d;
$custom-light: #837d52;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4b0d",
  "rgb": {
    "r": 79,
    "g": 75,
    "b": 13
  },
  "hsl": {
    "h": 56.364,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.40447,
    "c": 0.07896,
    "h": 105.6
  },
  "luminance": 0.06723
}

Semantic roles & 50–950 ramp

primary
#4F4B0D
secondary
#2E338A
accent
#44EE39
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4F4B0D

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

Preview Lab → · Contrast checker → · Palette generator →

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