#4E4D12#4E4D12

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

Color values

HEX#4E4D12
RGBrgb(78, 77, 18)
HSLhsl(59, 63%, 19%)
HSVhsv(59, 77%, 31%)
CMYKcmyk(0%, 1.3%, 76.9%, 69.4%)
CIE-LABlab(31.74, -7.75, 33.26)
CIE-LCHlch(31.74, 34.15, 103.12°)
OKLaboklab(40.89% -0.0246 0.0739)
OKLCHoklch(40.89% 0.078 108.4)
XYZxyz(5.9052, 6.9713, 1.6067)
Luminance0.0697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4D12 #12134E
analogous
#4E2F12 #4E4D12 #314E12
triadic
#4E4D12 #124E4D #4D124E
tetradic
#4E4D12 #124E2F #12134E #4E1231
square
#4E4D12 #124E2F #12134E #4E1231
split-complementary
#4E4D12 #12314E #2F124E
monochromatic
#191906 #1C1C07 #4E4D12 #807E1D #B1AF29

Accessibility & contrast

On white

8.77
#4E4D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#4E4D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4D12
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4D12#FFFFFF#000000##FFFFFF
##4E4D121.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e4d12;
/* rgb */ color: rgb(78, 77, 18);
/* oklch */ color: oklch(40.9% 0.078 108.4);
Tailwind
colors: {
  custom: {
    50: '#827e54',
    500: '#4e4d12',
    950: '#000000',
  },
}
SCSS
$custom: #4e4d12;
$custom-light: #827e54;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4d12",
  "rgb": {
    "r": 78,
    "g": 77,
    "b": 18
  },
  "hsl": {
    "h": 59,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.4089,
    "c": 0.07792,
    "h": 108.4
  },
  "luminance": 0.06971
}

Semantic roles & 50–950 ramp

primary
#4E4D12
secondary
#353687
accent
#45E642
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4E4D12

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

Preview Lab → · Contrast checker → · Palette generator →

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