#4E4C12#4E4C12

#4E4C12 is a dark, moderate yellow. Relative luminance 0.068; OKLCH L 40.6% C 0.077 H 107.4°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#4E4C12
RGBrgb(78, 76, 18)
HSLhsl(58, 63%, 19%)
HSVhsv(58, 77%, 31%)
CMYKcmyk(0%, 2.6%, 76.9%, 69.4%)
CIE-LABlab(31.42, -7.16, 32.94)
CIE-LCHlch(31.42, 33.71, 102.25°)
OKLaboklab(40.64% -0.023 0.0733)
OKLCHoklch(40.64% 0.077 107.4)
XYZxyz(5.8357, 6.8325, 1.5835)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4C12 #12144E
analogous
#4E2E12 #4E4C12 #324E12
triadic
#4E4C12 #124E4C #4C124E
tetradic
#4E4C12 #124E2E #12144E #4E1232
square
#4E4C12 #124E2E #12144E #4E1232
split-complementary
#4E4C12 #12324E #2E124E
monochromatic
#191806 #1C1C07 #4E4C12 #807C1D #B1AD29

Accessibility & contrast

On white

8.87
#4E4C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4E4C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4C12
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4C12#FFFFFF#000000##FFFFFF
##4E4C121.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e4c12;
/* rgb */ color: rgb(78, 76, 18);
/* oklch */ color: oklch(40.6% 0.077 107.4);
Tailwind
colors: {
  custom: {
    50: '#827d54',
    500: '#4e4c12',
    950: '#000000',
  },
}
SCSS
$custom: #4e4c12;
$custom-light: #827d54;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4c12",
  "rgb": {
    "r": 78,
    "g": 76,
    "b": 18
  },
  "hsl": {
    "h": 58,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.40636,
    "c": 0.07677,
    "h": 107.4
  },
  "luminance": 0.06832
}

Semantic roles & 50–950 ramp

primary
#4E4C12
secondary
#353887
accent
#48E642
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4E4C12

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

Preview Lab → · Contrast checker → · Palette generator →

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