#4E420B#4E420B

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

Color values

HEX#4E420B
RGBrgb(78, 66, 11)
HSLhsl(49, 75%, 17%)
HSVhsv(49, 86%, 31%)
CMYKcmyk(0%, 15.4%, 85.9%, 69.4%)
CIE-LABlab(28.22, -1.40, 32.82)
CIE-LCHlch(28.22, 32.85, 92.45°)
OKLaboklab(38.08% -0.0075 0.0714)
OKLCHoklch(38.08% 0.072 96)
XYZxyz(5.1508, 5.5406, 1.1147)
Luminance0.0554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E420B #0B174E
analogous
#4E210B #4E420B #384E0B
triadic
#4E420B #0B4E42 #420B4E
tetradic
#4E420B #0B4E21 #0B174E #4E0B38
square
#4E420B #0B4E21 #0B174E #4E0B38
split-complementary
#4E420B #0B384E #210B4E
monochromatic
#1B1704 #1B1704 #4E420B #846F13 #B99D1A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E420B#FFFFFF#000000##FFFFFF
##4E420B1.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)
#4A4002
Deuteranopia (green-blind)
#4D440F
Tritanopia (blue-blind)
#553C38
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e420b;
/* rgb */ color: rgb(78, 66, 11);
/* oklch */ color: oklch(38.1% 0.072 96.0);
Tailwind
colors: {
  custom: {
    50: '#82764f',
    500: '#4e420b',
    950: '#000000',
  },
}
SCSS
$custom: #4e420b;
$custom-light: #82764f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e420b",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 11
  },
  "hsl": {
    "h": 49.254,
    "s": 75.281,
    "l": 17.451
  },
  "oklch": {
    "l": 0.38078,
    "c": 0.07184,
    "h": 96
  },
  "luminance": 0.0554
}

Semantic roles & 50–950 ramp

primary
#4E420B
secondary
#2B3C8A
accent
#58F236
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #4E420B

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

Preview Lab → · Contrast checker → · Palette generator →

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