#4F4F12#4F4F12

#4F4F12 is a dark, moderate yellow. Relative luminance 0.073; OKLCH L 41.5% C 0.080 H 109.4°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#4F4F12
RGBrgb(79, 79, 18)
HSLhsl(60, 63%, 19%)
HSVhsv(60, 77%, 31%)
CMYKcmyk(0%, 0%, 77.2%, 69%)
CIE-LABlab(32.48, -8.44, 34.01)
CIE-LCHlch(32.48, 35.04, 103.93°)
OKLaboklab(41.5% -0.0266 0.0755)
OKLCHoklch(41.5% 0.08 109.4)
XYZxyz(6.1298, 7.2981, 1.6579)
Luminance0.0730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4F12 #12124F
analogous
#4F3112 #4F4F12 #314F12
triadic
#4F4F12 #124F4F #4F124F
tetradic
#4F4F12 #124F31 #12124F #4F1231
square
#4F4F12 #124F31 #12124F #4F1231
split-complementary
#4F4F12 #12314F #31124F
monochromatic
#191906 #1D1D07 #4F4F12 #81811D #B3B329

Accessibility & contrast

On white

8.54
#4F4F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4F4F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4F12
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4F12#FFFFFF#000000##FFFFFF
##4F4F121.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B08
Deuteranopia (green-blind)
#574D17
Tritanopia (blue-blind)
#554943
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4f4f12;
/* rgb */ color: rgb(79, 79, 18);
/* oklch */ color: oklch(41.5% 0.080 109.4);
Tailwind
colors: {
  custom: {
    50: '#838055',
    500: '#4f4f12',
    950: '#000000',
  },
}
SCSS
$custom: #4f4f12;
$custom-light: #838055;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4f12",
  "rgb": {
    "r": 79,
    "g": 79,
    "b": 18
  },
  "hsl": {
    "h": 60,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.415,
    "c": 0.08003,
    "h": 109.4
  },
  "luminance": 0.07298
}

Semantic roles & 50–950 ramp

primary
#4F4F12
secondary
#353588
accent
#42E642
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4F4F12

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

Preview Lab → · Contrast checker → · Palette generator →

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