#4D4F12#4D4F12

#4D4F12 is a dark, moderate yellow. Relative luminance 0.072; OKLCH L 41.3% C 0.081 H 111.3°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#4D4F12
RGBrgb(77, 79, 18)
HSLhsl(62, 63%, 19%)
HSVhsv(62, 77%, 31%)
CMYKcmyk(2.5%, 0%, 77.2%, 69%)
CIE-LABlab(32.29, -9.43, 33.76)
CIE-LCHlch(32.29, 35.05, 105.61°)
OKLaboklab(41.3% -0.0293 0.075)
OKLCHoklch(41.3% 0.081 111.3)
XYZxyz(5.9659, 7.2136, 1.6502)
Luminance0.0721 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4F12 #14124F
analogous
#4F3312 #4D4F12 #2F4F12
triadic
#4D4F12 #124D4F #4F124D
tetradic
#4D4F12 #124F33 #14124F #4F122F
square
#4D4F12 #124F33 #14124F #4F122F
split-complementary
#4D4F12 #122F4F #33124F
monochromatic
#181906 #1C1D07 #4D4F12 #7E811D #AEB329

Accessibility & contrast

On white

8.60
#4D4F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4D4F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4F12
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4F12#FFFFFF#000000##FFFFFF
##4D4F121.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d4f12;
/* rgb */ color: rgb(77, 79, 18);
/* oklch */ color: oklch(41.3% 0.081 111.3);
Tailwind
colors: {
  custom: {
    50: '#818055',
    500: '#4d4f12',
    950: '#000000',
  },
}
SCSS
$custom: #4d4f12;
$custom-light: #818055;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4f12",
  "rgb": {
    "r": 77,
    "g": 79,
    "b": 18
  },
  "hsl": {
    "h": 61.967,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.41304,
    "c": 0.08053,
    "h": 111.3
  },
  "luminance": 0.07213
}

Semantic roles & 50–950 ramp

primary
#4D4F12
secondary
#383588
accent
#42E647
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4D4F12

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

Preview Lab → · Contrast checker → · Palette generator →

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