#4E420F#4E420F

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

Color values

HEX#4E420F
RGBrgb(78, 66, 15)
HSLhsl(49, 68%, 18%)
HSVhsv(49, 81%, 31%)
CMYKcmyk(0%, 15.4%, 80.8%, 69.4%)
CIE-LABlab(28.25, -1.21, 31.17)
CIE-LCHlch(28.25, 31.19, 92.21°)
OKLaboklab(38.11% -0.0065 0.0689)
OKLCHoklch(38.11% 0.069 95.4)
XYZxyz(5.1766, 5.5509, 1.2506)
Luminance0.0555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E420F #0F1B4E
analogous
#4E220F #4E420F #3A4E0F
triadic
#4E420F #0F4E42 #420F4E
tetradic
#4E420F #0F4E22 #0F1B4E #4E0F3A
square
#4E420F #0F4E22 #0F1B4E #4E0F3A
split-complementary
#4E420F #0F3A4E #220F4E
monochromatic
#1A1605 #1B1705 #4E420F #816D19 #B59923

Accessibility & contrast

On white

9.95
#4E420F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E420F
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E420F#FFFFFF#000000##FFFFFF
##4E420F1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e420f;
/* rgb */ color: rgb(78, 66, 15);
/* oklch */ color: oklch(38.1% 0.069 95.4);
Tailwind
colors: {
  custom: {
    50: '#827651',
    500: '#4e420f',
    950: '#000000',
  },
}
SCSS
$custom: #4e420f;
$custom-light: #827651;
$custom-dark: #000000;
JSON
{
  "hex": "#4e420f",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 15
  },
  "hsl": {
    "h": 48.571,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38108,
    "c": 0.06917,
    "h": 95.4
  },
  "luminance": 0.05551
}

Semantic roles & 50–950 ramp

primary
#4E420F
secondary
#314188
accent
#5EEB3D
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #4E420F

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

Preview Lab → · Contrast checker → · Palette generator →

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