#4E420D#4E420D

#4E420D is a dark, moderate yellow. Relative luminance 0.055; OKLCH L 38.1% C 0.071 H 95.7°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#4E420D
RGBrgb(78, 66, 13)
HSLhsl(49, 71%, 18%)
HSVhsv(49, 83%, 31%)
CMYKcmyk(0%, 15.4%, 83.3%, 69.4%)
CIE-LABlab(28.24, -1.31, 32.02)
CIE-LCHlch(28.24, 32.05, 92.34°)
OKLaboklab(38.09% -0.007 0.0702)
OKLCHoklch(38.09% 0.071 95.7)
XYZxyz(5.1630, 5.5455, 1.1791)
Luminance0.0554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E420D #0D194E
analogous
#4E210D #4E420D #394E0D
triadic
#4E420D #0D4E42 #420D4E
tetradic
#4E420D #0D4E21 #0D194E #4E0D39
square
#4E420D #0D4E21 #0D194E #4E0D39
split-complementary
#4E420D #0D394E #210D4E
monochromatic
#1A1604 #1A1604 #4E420D #826E16 #B79B1E

Accessibility & contrast

On white

9.96
#4E420D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E420D
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E420D#FFFFFF#000000##FFFFFF
##4E420D1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e420d;
/* rgb */ color: rgb(78, 66, 13);
/* oklch */ color: oklch(38.1% 0.071 95.7);
Tailwind
colors: {
  custom: {
    50: '#827650',
    500: '#4e420d',
    950: '#000000',
  },
}
SCSS
$custom: #4e420d;
$custom-light: #827650;
$custom-dark: #000000;
JSON
{
  "hex": "#4e420d",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 13
  },
  "hsl": {
    "h": 48.923,
    "s": 71.429,
    "l": 17.843
  },
  "oklch": {
    "l": 0.38092,
    "c": 0.07056,
    "h": 95.7
  },
  "luminance": 0.05545
}

Semantic roles & 50–950 ramp

primary
#4E420D
secondary
#2E3F89
accent
#5BEE3A
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #4E420D

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

Preview Lab → · Contrast checker → · Palette generator →

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