#4F4C0C#4F4C0C

#4F4C0C is a dark, moderate yellow. Relative luminance 0.069; OKLCH L 40.7% C 0.081 H 106.7°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#4F4C0C
RGBrgb(79, 76, 12)
HSLhsl(57, 74%, 18%)
HSVhsv(57, 85%, 31%)
CMYKcmyk(0%, 3.8%, 84.8%, 69%)
CIE-LABlab(31.48, -6.96, 35.44)
CIE-LCHlch(31.48, 36.11, 101.11°)
OKLaboklab(40.69% -0.0231 0.0772)
OKLCHoklch(40.69% 0.081 106.7)
XYZxyz(5.8755, 6.8579, 1.3620)
Luminance0.0686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4C0C #0C0F4F
analogous
#4F2A0C #4F4C0C #314F0C
triadic
#4F4C0C #0C4F4C #4C0C4F
tetradic
#4F4C0C #0C4F2A #0C0F4F #4F0C31
square
#4F4C0C #0C4F2A #0C0F4F #4F0C31
split-complementary
#4F4C0C #0C314F #2A0C4F
monochromatic
#1B1A04 #1B1A04 #4F4C0C #847F14 #B9B21C

Accessibility & contrast

On white

8.85
#4F4C0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4F4C0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4C0C
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4C0C#FFFFFF#000000##FFFFFF
##4F4C0C1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534900
Deuteranopia (green-blind)
#554B11
Tritanopia (blue-blind)
#564640
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4f4c0c;
/* rgb */ color: rgb(79, 76, 12);
/* oklch */ color: oklch(40.7% 0.081 106.7);
Tailwind
colors: {
  custom: {
    50: '#837d51',
    500: '#4f4c0c',
    950: '#000000',
  },
}
SCSS
$custom: #4f4c0c;
$custom-light: #837d51;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4c0c",
  "rgb": {
    "r": 79,
    "g": 76,
    "b": 12
  },
  "hsl": {
    "h": 57.313,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.40694,
    "c": 0.08062,
    "h": 106.7
  },
  "luminance": 0.06858
}

Semantic roles & 50–950 ramp

primary
#4F4C0C
secondary
#2C318B
accent
#40F038
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4F4C0C

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

Preview Lab → · Contrast checker → · Palette generator →

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