#4F4C12#4F4C12

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

Color values

HEX#4F4C12
RGBrgb(79, 76, 18)
HSLhsl(57, 63%, 19%)
HSVhsv(57, 77%, 31%)
CMYKcmyk(0%, 3.8%, 77.2%, 69%)
CIE-LABlab(31.52, -6.65, 33.07)
CIE-LCHlch(31.52, 33.74, 101.37°)
OKLaboklab(40.74% -0.0216 0.0735)
OKLCHoklch(40.74% 0.077 106.4)
XYZxyz(5.9183, 6.8750, 1.5874)
Luminance0.0688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4C12 #12154F
analogous
#4F2E12 #4F4C12 #344F12
triadic
#4F4C12 #124F4C #4C124F
tetradic
#4F4C12 #124F2E #12154F #4F1234
square
#4F4C12 #124F2E #12154F #4F1234
split-complementary
#4F4C12 #12344F #2E124F
monochromatic
#191806 #1D1C07 #4F4C12 #817C1D #B3AC29

Accessibility & contrast

On white

8.84
#4F4C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4F4C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4C12
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4C12#FFFFFF#000000##FFFFFF
##4F4C121.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534909
Deuteranopia (green-blind)
#544B16
Tritanopia (blue-blind)
#554641
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4f4c12;
/* rgb */ color: rgb(79, 76, 18);
/* oklch */ color: oklch(40.7% 0.077 106.4);
Tailwind
colors: {
  custom: {
    50: '#837d54',
    500: '#4f4c12',
    950: '#000000',
  },
}
SCSS
$custom: #4f4c12;
$custom-light: #837d54;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4c12",
  "rgb": {
    "r": 79,
    "g": 76,
    "b": 18
  },
  "hsl": {
    "h": 57.049,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.40738,
    "c": 0.07661,
    "h": 106.4
  },
  "luminance": 0.06875
}

Semantic roles & 50–950 ramp

primary
#4F4C12
secondary
#353988
accent
#4AE642
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4F4C12

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

Preview Lab → · Contrast checker → · Palette generator →

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