#4C4E12#4C4E12

#4C4E12 is a dark, moderate yellow. Relative luminance 0.070; OKLCH L 40.9% C 0.080 H 111.3°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#4C4E12
RGBrgb(76, 78, 18)
HSLhsl(62, 63%, 19%)
HSVhsv(62, 77%, 31%)
CMYKcmyk(2.6%, 0%, 76.9%, 69.4%)
CIE-LABlab(31.87, -9.34, 33.32)
CIE-LCHlch(31.87, 34.61, 105.66°)
OKLaboklab(40.95% -0.029 0.0741)
OKLCHoklch(40.95% 0.08 111.3)
XYZxyz(5.8142, 7.0291, 1.6226)
Luminance0.0703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4E12 #14124E
analogous
#4E3212 #4C4E12 #2E4E12
triadic
#4C4E12 #124C4E #4E124C
tetradic
#4C4E12 #124E32 #14124E #4E122E
square
#4C4E12 #124E32 #14124E #4E122E
split-complementary
#4C4E12 #122E4E #32124E
monochromatic
#181906 #1C1C07 #4C4E12 #7C801D #ADB129

Accessibility & contrast

On white

8.73
#4C4E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4C4E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4E12
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4E12#FFFFFF#000000##FFFFFF
##4C4E121.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A08
Deuteranopia (green-blind)
#554C16
Tritanopia (blue-blind)
#524942
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4c4e12;
/* rgb */ color: rgb(76, 78, 18);
/* oklch */ color: oklch(40.9% 0.080 111.3);
Tailwind
colors: {
  custom: {
    50: '#807f54',
    500: '#4c4e12',
    950: '#000000',
  },
}
SCSS
$custom: #4c4e12;
$custom-light: #807f54;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4e12",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 18
  },
  "hsl": {
    "h": 62,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.40949,
    "c": 0.0796,
    "h": 111.3
  },
  "luminance": 0.07029
}

Semantic roles & 50–950 ramp

primary
#4C4E12
secondary
#383587
accent
#42E648
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4C4E12

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

Preview Lab → · Contrast checker → · Palette generator →

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