#4E4E1B#4E4E1B

#4E4E1B is a dark, moderate yellow. Relative luminance 0.071; OKLCH L 41.2% C 0.071 H 109.2°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#4E4E1B
RGBrgb(78, 78, 27)
HSLhsl(60, 49%, 21%)
HSVhsv(60, 65%, 31%)
CMYKcmyk(0%, 0%, 65.4%, 69.4%)
CIE-LABlab(32.14, -7.71, 29.39)
CIE-LCHlch(32.14, 30.39, 104.70°)
OKLaboklab(41.24% -0.0234 0.0674)
OKLCHoklch(41.24% 0.071 109.2)
XYZxyz(6.0643, 7.1478, 2.0969)
Luminance0.0715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4E1B #1B1B4E
analogous
#4E341B #4E4E1B #344E1B
triadic
#4E4E1B #1B4E4E #4E1B4E
tetradic
#4E4E1B #1B4E34 #1B1B4E #4E1B34
square
#4E4E1B #1B4E34 #1B1B4E #4E1B34
split-complementary
#4E4E1B #1B344E #341B4E
monochromatic
#171708 #21210B #4E4E1B #7B7B2B #A9A93A

Accessibility & contrast

On white

8.64
#4E4E1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4E4E1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4E1B
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4E1B#FFFFFF#000000##FFFFFF
##4E4E1B1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544B15
Deuteranopia (green-blind)
#554C1E
Tritanopia (blue-blind)
#544943
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e4e1b;
/* rgb */ color: rgb(78, 78, 27);
/* oklch */ color: oklch(41.2% 0.071 109.2);
Tailwind
colors: {
  custom: {
    50: '#817f5a',
    500: '#4e4e1b',
    950: '#000000',
  },
}
SCSS
$custom: #4e4e1b;
$custom-light: #817f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4e1b",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 27
  },
  "hsl": {
    "h": 60,
    "s": 48.571,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41235,
    "c": 0.07134,
    "h": 109.2
  },
  "luminance": 0.07148
}

Semantic roles & 50–950 ramp

primary
#4E4E1B
secondary
#414184
accent
#50D850
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4E4E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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