#4C4F12#4C4F12

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

Color values

HEX#4C4F12
RGBrgb(76, 79, 18)
HSLhsl(63, 63%, 19%)
HSVhsv(63, 77%, 31%)
CMYKcmyk(3.8%, 0%, 77.2%, 69%)
CIE-LABlab(32.20, -9.93, 33.64)
CIE-LCHlch(32.20, 35.07, 106.44°)
OKLaboklab(41.21% -0.0306 0.0748)
OKLCHoklch(41.21% 0.081 112.2)
XYZxyz(5.8858, 7.1723, 1.6465)
Luminance0.0717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4F12 #15124F
analogous
#4F3412 #4C4F12 #2E4F12
triadic
#4C4F12 #124C4F #4F124C
tetradic
#4C4F12 #124F34 #15124F #4F122E
square
#4C4F12 #124F34 #15124F #4F122E
split-complementary
#4C4F12 #122E4F #34124F
monochromatic
#181906 #1C1D07 #4C4F12 #7C811D #ACB329

Accessibility & contrast

On white

8.63
#4C4F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C4F12
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4F12#FFFFFF#000000##FFFFFF
##4C4F121.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c4f12;
/* rgb */ color: rgb(76, 79, 18);
/* oklch */ color: oklch(41.2% 0.081 112.2);
Tailwind
colors: {
  custom: {
    50: '#808055',
    500: '#4c4f12',
    950: '#000000',
  },
}
SCSS
$custom: #4c4f12;
$custom-light: #808055;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4f12",
  "rgb": {
    "r": 76,
    "g": 79,
    "b": 18
  },
  "hsl": {
    "h": 62.951,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.41207,
    "c": 0.08081,
    "h": 112.2
  },
  "luminance": 0.07172
}

Semantic roles & 50–950 ramp

primary
#4C4F12
secondary
#393588
accent
#42E64A
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4C4F12

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

Preview Lab → · Contrast checker → · Palette generator →

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