#4F4E12#4F4E12

#4F4E12 is a dark, moderate yellow. Relative luminance 0.072; OKLCH L 41.2% C 0.079 H 108.5°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#4F4E12
RGBrgb(79, 78, 18)
HSLhsl(59, 63%, 19%)
HSVhsv(59, 77%, 31%)
CMYKcmyk(0%, 1.3%, 77.2%, 69%)
CIE-LABlab(32.16, -7.85, 33.70)
CIE-LCHlch(32.16, 34.60, 103.11°)
OKLaboklab(41.25% -0.025 0.0748)
OKLCHoklch(41.25% 0.079 108.5)
XYZxyz(6.0582, 7.1549, 1.6341)
Luminance0.0716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4E12 #12134F
analogous
#4F3012 #4F4E12 #324F12
triadic
#4F4E12 #124F4E #4E124F
tetradic
#4F4E12 #124F30 #12134F #4F1232
square
#4F4E12 #124F30 #12134F #4F1232
split-complementary
#4F4E12 #12324F #30124F
monochromatic
#191906 #1D1D07 #4F4E12 #817F1D #B3B029

Accessibility & contrast

On white

8.64
#4F4E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F4E12
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4E12#FFFFFF#000000##FFFFFF
##4F4E121.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B08
Deuteranopia (green-blind)
#564D16
Tritanopia (blue-blind)
#554842
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4f4e12;
/* rgb */ color: rgb(79, 78, 18);
/* oklch */ color: oklch(41.2% 0.079 108.5);
Tailwind
colors: {
  custom: {
    50: '#837f55',
    500: '#4f4e12',
    950: '#000000',
  },
}
SCSS
$custom: #4f4e12;
$custom-light: #837f55;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4e12",
  "rgb": {
    "r": 79,
    "g": 78,
    "b": 18
  },
  "hsl": {
    "h": 59.016,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.41245,
    "c": 0.07887,
    "h": 108.5
  },
  "luminance": 0.07155
}

Semantic roles & 50–950 ramp

primary
#4F4E12
secondary
#353688
accent
#45E642
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4F4E12

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

Preview Lab → · Contrast checker → · Palette generator →

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