#4E4212#4E4212

#4E4212 is a dark, moderate yellow. Relative luminance 0.056; OKLCH L 38.1% C 0.067 H 94.8°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#4E4212
RGBrgb(78, 66, 18)
HSLhsl(48, 63%, 19%)
HSVhsv(48, 77%, 31%)
CMYKcmyk(0%, 15.4%, 76.9%, 69.4%)
CIE-LABlab(28.27, -1.03, 29.80)
CIE-LCHlch(28.27, 29.82, 91.98°)
OKLaboklab(38.14% -0.0056 0.0666)
OKLCHoklch(38.14% 0.067 94.8)
XYZxyz(5.1995, 5.5601, 1.3715)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4212 #121E4E
analogous
#4E2412 #4E4212 #3C4E12
triadic
#4E4212 #124E42 #42124E
tetradic
#4E4212 #124E24 #121E4E #4E123C
square
#4E4212 #124E24 #121E4E #4E123C
split-complementary
#4E4212 #123C4E #24124E
monochromatic
#191506 #1C1807 #4E4212 #806C1D #B19629

Accessibility & contrast

On white

9.94
#4E4212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4E4212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4212
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4212#FFFFFF#000000##FFFFFF
##4E42121.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A410B
Deuteranopia (green-blind)
#4D4415
Tritanopia (blue-blind)
#553C38
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e4212;
/* rgb */ color: rgb(78, 66, 18);
/* oklch */ color: oklch(38.1% 0.067 94.8);
Tailwind
colors: {
  custom: {
    50: '#827653',
    500: '#4e4212',
    950: '#000000',
  },
}
SCSS
$custom: #4e4212;
$custom-light: #827653;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4212",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 18
  },
  "hsl": {
    "h": 48,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38135,
    "c": 0.06685,
    "h": 94.8
  },
  "luminance": 0.0556
}

Semantic roles & 50–950 ramp

primary
#4E4212
secondary
#354587
accent
#63E642
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #4E4212

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

Preview Lab → · Contrast checker → · Palette generator →

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