#4E4E1F#4E4E1F

#4E4E1F is a dark, moderate yellow. Relative luminance 0.072; OKLCH L 41.3% C 0.067 H 109.0°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#4E4E1F
RGBrgb(78, 78, 31)
HSLhsl(60, 43%, 21%)
HSVhsv(60, 60%, 31%)
CMYKcmyk(0%, 0%, 60.3%, 69.4%)
CIE-LABlab(32.19, -7.36, 27.33)
CIE-LCHlch(32.19, 28.31, 105.07°)
OKLaboklab(41.28% -0.0219 0.0636)
OKLCHoklch(41.28% 0.067 109)
XYZxyz(6.1138, 7.1676, 2.3575)
Luminance0.0717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4E1F #1F1F4E
analogous
#4E371F #4E4E1F #374E1F
triadic
#4E4E1F #1F4E4E #4E1F4E
tetradic
#4E4E1F #1F4E37 #1F1F4E #4E1F37
square
#4E4E1F #1F4E37 #1F1F4E #4E1F37
split-complementary
#4E4E1F #1F374E #371F4E
monochromatic
#161609 #22220E #4E4E1F #7A7A30 #A6A642

Accessibility & contrast

On white

8.63
#4E4E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4E1F
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4E1F#FFFFFF#000000##FFFFFF
##4E4E1F1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544B1A
Deuteranopia (green-blind)
#554C22
Tritanopia (blue-blind)
#534944
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e4e1f;
/* rgb */ color: rgb(78, 78, 31);
/* oklch */ color: oklch(41.3% 0.067 109.0);
Tailwind
colors: {
  custom: {
    50: '#817f5c',
    500: '#4e4e1f',
    950: '#000000',
  },
}
SCSS
$custom: #4e4e1f;
$custom-light: #817f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4e1f",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 31
  },
  "hsl": {
    "h": 60,
    "s": 43.119,
    "l": 21.373
  },
  "oklch": {
    "l": 0.41284,
    "c": 0.06725,
    "h": 109
  },
  "luminance": 0.07167
}

Semantic roles & 50–950 ramp

primary
#4E4E1F
secondary
#464683
accent
#55D355
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4E4E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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